build: add tailwind to webapp
This commit is contained in:
@@ -33,7 +33,7 @@ const ContextMenu: FC<Props> = ({ items = [], hideMenu = null }) => {
|
||||
} = item;
|
||||
return (
|
||||
<li
|
||||
className={`item ${underline ? "underline" : ""} ${danger ? "danger" : ""}`}
|
||||
className={`item ${underline ? "bottom_line" : ""} ${danger ? "danger" : ""}`}
|
||||
key={title}
|
||||
onClick={(evt) => {
|
||||
evt.stopPropagation();
|
||||
|
||||
@@ -42,7 +42,7 @@ const StyledMenu = styled.ul`
|
||||
}
|
||||
}
|
||||
}
|
||||
&.underline {
|
||||
&.bottom_line {
|
||||
margin-bottom: 9px;
|
||||
&:before {
|
||||
position: absolute;
|
||||
|
||||
@@ -66,7 +66,7 @@ const Select: FC<Props> = ({ options = [], updateSelect = null, current = null }
|
||||
return (
|
||||
<li
|
||||
onClick={selected ? undefined : handleSelect.bind(null, { title, value })}
|
||||
className={`item sb ${underline ? "underline" : ""}`}
|
||||
className={`item sb ${underline ? "bottom_line" : ""}`}
|
||||
data-disabled={selected}
|
||||
key={value}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user