forked from extern/egroupware
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;
|
margin: 0px 2px;
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
::slotted(img) {
|
||||||
|
/* Stop images from growing. In general we want them to stay */
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
::slotted([align="left"]) {
|
::slotted([align="left"]) {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
order: -1;
|
order: -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user