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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
szaimen authored and nextcloud-command committed Nov 29, 2022
1 parent 7856820 commit f889007
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 81 deletions.
4 changes: 4 additions & 0 deletions apps/files_external/css/settings.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/files_external/css/settings.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
28 changes: 0 additions & 28 deletions core/css/apps.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/apps.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
Loading

0 comments on commit f889007

Please sign in to comment.