file-menu: nicer
Massimo Melina committed
Apr 3, 2023 at 20:48 UTC
0f9d99bc8f1dec3489012da3c5a7cff7f13485a3
2 files changed
+9
frontend/src/dialog.css
+7
@@ -36,6 +36,13 @@
36
font-size: 120%;
37
position: absolute; /* avoid moving content down */
38
top: 5px;
39
+ padding: 0 0.5em; /* avoid reaching margins */
40
+}
41
+.dialog-closer ~ .dialog-title {
42
+ margin-right: 2em;
43
+}
44
+.dialog-type ~ .dialog-title {
45
+ margin-left: 2em;
46
}
47
.dialog-icon ~ .dialog-title {
48
text-align: center;
frontend/src/index.scss
+2
@@ -385,6 +385,8 @@ button label {
385
386
.miss-perm { margin: .3em }
387
388
+.file-dialog .dialog-content { min-width: calc(100% - 1em); } /* effective and nicer on short names */
389
+.file-dialog .dialog { min-width: 13em; } /* more room for title */
390
.file-dialog-properties {
391
word-break: break-word;
392
line-height: 1.5em;