fix right-click img tags

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Simon L 2023-02-24 11:12:00 +01:00 committed by nextcloud-command
parent c92fd66175
commit 64f8d0482b
5 changed files with 43 additions and 2 deletions

View file

@ -1485,6 +1485,19 @@ kbd {
opacity: 1;
}
.popovermenu li > button,
.popovermenu li > a,
.popovermenu li > .menuitem {
/* DEPRECATED! old img in popover fallback
* TODO: to remove */
}
.popovermenu li > button > img,
.popovermenu li > a > img,
.popovermenu li > .menuitem > img {
width: 44px;
height: 44px;
}
/* CONTENT LIST ------------------------------------------------------------ */
.app-content-list {
position: -webkit-sticky;

File diff suppressed because one or more lines are too long

View file

@ -1224,6 +1224,21 @@ $outter-margin: math.div($popoveritem-height - $popovericon-size, 2);
}
}
.popovermenu {
li {
> button,
> a,
> .menuitem {
/* DEPRECATED! old img in popover fallback
* TODO: to remove */
> img {
width: $popoveritem-height;
height: $popoveritem-height;
}
}
}
}
/* CONTENT LIST ------------------------------------------------------------ */
.app-content-list {
position: -webkit-sticky;

View file

@ -3950,6 +3950,19 @@ kbd {
opacity: 1;
}
.popovermenu li > button,
.popovermenu li > a,
.popovermenu li > .menuitem {
/* DEPRECATED! old img in popover fallback
* TODO: to remove */
}
.popovermenu li > button > img,
.popovermenu li > a > img,
.popovermenu li > .menuitem > img {
width: 44px;
height: 44px;
}
/* CONTENT LIST ------------------------------------------------------------ */
.app-content-list {
position: -webkit-sticky;

File diff suppressed because one or more lines are too long