Skip to content

Commit

Permalink
try to fix the popovermenu
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Nov 29, 2022
1 parent a884f31 commit e11bd0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
4 changes: 4 additions & 0 deletions apps/files_external/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
}
}

#externalStorage .popovermenu li > .menuitem {
width: fit-content !important;
}

#externalStorage td.status {
/* overwrite conflicting core styles */
display: table-cell;
Expand Down
22 changes: 0 additions & 22 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1208,28 +1208,6 @@ $outter-margin: math.div($popoveritem-height - $popovericon-size, 2);
}
}

/* "app-*" descendants use border-box sizing, so the height of the icon must be
* set to the height of the item (as well as its width to make it squared). */
#content[class*='app-'] {
.bubble,
.app-navigation-entry-menu,
.popovermenu {
li {
> button,
> a,
> .menuitem {
width: fit-content;
/* DEPRECATED! old img in popover fallback
* TODO: to remove */
> img {
width: $popoveritem-height;
height: $popoveritem-height;
}
}
}
}
}

/* CONTENT LIST ------------------------------------------------------------ */
.app-content-list {
position: -webkit-sticky;
Expand Down

0 comments on commit e11bd0c

Please sign in to comment.