summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Pinto Silva <pedro.silva@collabora.com>2020-12-08 14:42:23 +0100
committerpedropintosilva <65948705+pedropintosilva@users.noreply.github.com>2020-12-08 20:05:38 +0100
commit98d8ab287ad082708c5efd68379cd65b898c3c61 (patch)
treec7b85611fbfad2813a642a154533b712ec76cd10
parentJSDialog: style btns, add generic btns file and reuse, fix font-family.. (diff)
downloadonline-98d8ab287ad082708c5efd68379cd65b898c3c61.tar.gz
online-98d8ab287ad082708c5efd68379cd65b898c3c61.zip
JSDialog: Fix pseudo table-rows dimension (actually they should be tables)
and make sure contents do fill available space Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I74fdfc50ac888c08f82077c78b16ddda8daaf845
-rw-r--r--loleaflet/css/jsdialogs.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/loleaflet/css/jsdialogs.css b/loleaflet/css/jsdialogs.css
index d4a5e7ddb1..5625595494 100644
--- a/loleaflet/css/jsdialogs.css
+++ b/loleaflet/css/jsdialogs.css
@@ -10,6 +10,10 @@
font-family: var(--jquery-ui-font);
}
+.jsdialog.vertical p {
+ margin-bottom: 2px;
+}
+
.jsdialog.row {
display: table-row;
}
@@ -24,6 +28,12 @@
width: max-content;
}
+.jsdialog.vertical:not([id^='table-dialog-action_area']) > .jsdialog.row,
+td.jsdialog > [id^='table-box'] {
+ display: table;
+ width: 100%;
+}
+
/* Expander */
.ui-expander-label::before {
content: '>';