Merge branch 'develop' into feature/account-menu-react

This commit is contained in:
Antonella Sgarlatta
2021-06-10 12:18:32 -03:00
5 changed files with 4 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ const NotesContextMenu = observer(({ appState }: Props) => {
return appState.notes.contextMenuOpen ? ( return appState.notes.contextMenuOpen ? (
<div <div
ref={contextMenuRef} ref={contextMenuRef}
className="sn-dropdown max-h-120 max-w-xs flex flex-col py-2 overflow-y-auto fixed" className="sn-dropdown min-w-80 max-h-120 max-w-xs flex flex-col py-2 overflow-y-auto fixed"
style={{ style={{
...appState.notes.contextMenuPosition, ...appState.notes.contextMenuPosition,
maxHeight: appState.notes.contextMenuMaxHeight, maxHeight: appState.notes.contextMenuMaxHeight,

View File

@@ -159,7 +159,7 @@ export const NotesOptions = observer(
maxHeight: tagsMenuMaxHeight, maxHeight: tagsMenuMaxHeight,
position: 'fixed', position: 'fixed',
}} }}
className="sn-dropdown flex flex-col py-2 max-h-120 max-w-xs fixed overflow-y-auto" className="sn-dropdown min-w-80 flex flex-col py-2 max-h-120 max-w-xs fixed overflow-y-auto"
> >
{appState.tags.tags.map((tag) => ( {appState.tags.tags.map((tag) => (
<button <button

View File

@@ -71,7 +71,7 @@ export const NotesOptionsPanel = observer(({ appState }: Props) => {
...position, ...position,
maxHeight, maxHeight,
}} }}
className="sn-dropdown sn-dropdown--animated max-h-120 max-w-xs flex flex-col py-2 overflow-y-auto fixed" className="sn-dropdown sn-dropdown--animated min-w-80 max-h-120 max-w-xs flex flex-col py-2 overflow-y-auto fixed"
> >
{open && ( {open && (
<NotesOptions <NotesOptions

View File

@@ -63,7 +63,7 @@ const SearchOptions = observer(({ appState }: Props) => {
style={{ style={{
top: optionsPanelTop, top: optionsPanelTop,
}} }}
className="sn-dropdown sn-dropdown--anchor-right sn-dropdown--animated absolute grid gap-2 py-2" className="sn-dropdown sn-dropdown--anchor-right sn-dropdown--animated min-w-80 absolute grid gap-2 py-2"
> >
<Switch <Switch
className="h-10" className="h-10"

View File

@@ -360,7 +360,6 @@
.sn-dropdown { .sn-dropdown {
@extend .bg-default; @extend .bg-default;
@extend .min-w-80;
@extend .rounded; @extend .rounded;
@extend .box-shadow; @extend .box-shadow;