aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/modules/modal.css
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/css/modules/modal.css')
-rw-r--r--web_src/css/modules/modal.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/web_src/css/modules/modal.css b/web_src/css/modules/modal.css
index 96bc8be898..54a4ef81ca 100644
--- a/web_src/css/modules/modal.css
+++ b/web_src/css/modules/modal.css
@@ -3,13 +3,18 @@
width: fit-content;
}
-.ui.modal.g-modal-confirm > .inside.close {
+.ui.modal.g-modal-confirm > .inside.close.icon {
padding: 0;
width: 1em;
height: 1em;
top: 1.2em;
}
+.ui.modal > .close.icon[height="16"] {
+ top: 0.7em; /* fomantic uses absolute layout, so if we have special icon size, it needs this trick to align vertically */
+ color: var(--color-text-dark);
+}
+
.ui.modal > .header {
/* can't use display:flex, because some headers have space-separated elements, eg: delete branch modal */
color: var(--color-text-dark);