From a96076f49ce7755ebdf3cad588b5c0d2f1f93035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Aires=20Rast=C3=A9n?= Date: Fri, 16 Sep 2022 21:20:56 +0200 Subject: Add buttons for random and reuse seed. Random button sets seed to -1, reuse copies the seed from the last generated image. --- style.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'style.css') 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{ -- cgit v1.2.3