forked from extern/egroupware
Etemplate: Set a gap instead of using margin
This commit is contained in:
parent
7212b5dd51
commit
a7a84df7e5
@ -28,10 +28,10 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM
|
|||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
gap: 5px;
|
||||||
}
|
}
|
||||||
/* CSS for child elements */
|
/* CSS for child elements */
|
||||||
::slotted(*) {
|
::slotted(*) {
|
||||||
margin: 0px 2px;
|
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
::slotted(img) {
|
::slotted(img) {
|
||||||
|
Loading…
Reference in New Issue
Block a user