aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorJohan Aires Rastén <johan@oljud.se>2022-09-16 21:20:56 +0200
committerJohan Aires Rastén <johan@oljud.se>2022-09-18 15:13:28 +0200
commita96076f49ce7755ebdf3cad588b5c0d2f1f93035 (patch)
tree8401da6faae1ba3218f8d812ca6a196884909ca2 /style.css
parent7476593014404314f06928ee500bc281a51de5cd (diff)
Add buttons for random and reuse seed.
Random button sets seed to -1, reuse copies the seed from the last generated image.
Diffstat (limited to 'style.css')
-rw-r--r--style.css26
1 files changed, 24 insertions, 2 deletions
diff --git a/style.css b/style.css
index 26c759d7..fb937f3a 100644
--- a/style.css
+++ b/style.css
@@ -43,9 +43,31 @@
margin-right: auto;
}
+#random_seed, #random_subseed, #reuse_seed, #reuse_subseed{
+ min-width: auto;
+ flex-grow: 0;
+ padding-left: 0.25em;
+ padding-right: 0.25em;
+}
+
+#seed_row, #subseed_row{
+ gap: 0.5rem;
+}
+
+#subseed_show_box{
+ min-width: auto;
+ flex-grow: 0;
+}
+
+#subseed_show_box > div{
+ border: 0;
+ height: 100%;
+}
+
#subseed_show{
- min-width: 6em;
- max-width: 6em;
+ min-width: auto;
+ flex-grow: 0;
+ padding: 0;
}
#subseed_show label{