From 933913410c10c580f698d76771eb067c4dce10f1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 24 Oct 2021 20:11:49 +0300 Subject: 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 --- themes/light/cdm.less | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'themes/light/cdm.less') 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; + } } } -- cgit v1.2.3