diff options
author | Andrew Dolgov <[email protected]> | 2021-10-24 20:11:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-10-24 20:11:49 +0300 |
commit | 933913410c10c580f698d76771eb067c4dce10f1 (patch) | |
tree | 8b4c9854897ce1866eec4833caad628029160c2c /themes/light/cdm.less | |
parent | 9f734c90506a6e5916589d7c8f39c45ff40f6273 (diff) |
css: make plugin button container a flexbox
backend: pass plugin button generated code through domdocument to ensure
its correctness; set data-plugin-name attribute on children to make
them sortable via css
Diffstat (limited to 'themes/light/cdm.less')
-rw-r--r-- | themes/light/cdm.less | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less index 5641a0380..71288b023 100644 --- a/themes/light/cdm.less +++ b/themes/light/cdm.less @@ -98,8 +98,23 @@ color : @color-icon; } + .left, .right { + display : flex; + align-items : center; + } + .left { flex-grow : 2; + + > * { + margin-right : 4px; + } + } + + .right { + > * { + margin-left : 4px; + } } } |