Skip to content

Commit

Permalink
Merge pull request #35517 from nextcloud/backport/35484/stable25
Browse files Browse the repository at this point in the history
[stable25] fix the popovermenu
  • Loading branch information
szaimen authored Dec 8, 2022
2 parents 9c79197 + d4b4135 commit 978d669
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 @@ -1218,28 +1218,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 978d669

Please sign in to comment.