Merge pull request #11054 from nextcloud/fix-size-of-icons-in-menus-inside-apps-when-shown-as-images
Fix size of icons in menus inside apps when shown as images
This commit is contained in:
commit
99edbac06c
|
@ -1043,6 +1043,27 @@ $popovericon-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* "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 {
|
||||||
|
/* DEPRECATED! old img in popover fallback
|
||||||
|
* TODO: to remove */
|
||||||
|
> img {
|
||||||
|
width: $popoveritem-height;
|
||||||
|
height: $popoveritem-height;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* CONTENT LIST ------------------------------------------------------------ */
|
/* CONTENT LIST ------------------------------------------------------------ */
|
||||||
.app-content-list {
|
.app-content-list {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
|
Loading…
Reference in New Issue