From cfd218a8caf892d7e06f34c56c2c6a3082cd7f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 28 Jul 2020 11:27:45 +0100 Subject: [PATCH] Switch radio group to column on small screens - To give more space to longer translated radio-button titles - For share modal access rights --- .../src/less2/include/modals-ui-elements.less | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/customize.dist/src/less2/include/modals-ui-elements.less b/customize.dist/src/less2/include/modals-ui-elements.less index e8282f6e8..37c3b8545 100644 --- a/customize.dist/src/less2/include/modals-ui-elements.less +++ b/customize.dist/src/less2/include/modals-ui-elements.less @@ -1,5 +1,7 @@ @import (reference) "./colortheme-all.less"; @import (reference) "./variables.less"; +@import (reference) "./browser.less"; + .modals-ui-elements_main() { --LessLoader_require: LessLoader_currentFile(); } @@ -20,6 +22,15 @@ .cp-radio { margin-right: 30px; } + @media (max-width: @browser_media-medium-screen) { + flex-direction: column; + &:not(:last-child) { + margin-bottom: 0px; + } + .cp-radio { + margin: 0 0 5px 0; + } + } } }