mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-01 03:29:05 +01:00
Api: Stop images inside boxes from stretching
This commit is contained in:
parent
d42f20cf38
commit
4fe9f6c614
@ -34,6 +34,10 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM
|
||||
margin: 0px 2px;
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
::slotted(img) {
|
||||
/* Stop images from growing. In general we want them to stay */
|
||||
flex-grow: 0;
|
||||
}
|
||||
::slotted([align="left"]) {
|
||||
margin-right: auto;
|
||||
order: -1;
|
||||
|
Loading…
Reference in New Issue
Block a user