From 88515267b94c7518d48d34e037163fa8c3ceca33 Mon Sep 17 00:00:00 2001 From: Reimoo Date: Sun, 26 Mar 2023 10:29:19 -0700 Subject: Changed: extra network height css Changed it so cards take up a set amount of vertical space but added the ability to scroll and resize. --- style.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index 0dcc3e25..aca32fcf 100644 --- a/style.css +++ b/style.css @@ -596,6 +596,12 @@ footer { /* extra networks UI */ +.extra-network-cards{ + height: 400px; + overflow: scroll; + resize: vertical; +} + .extra-networks > div > [id *= '_extra_']{ margin: 0.3em; } -- cgit v1.2.3 From 527680cd70267f3fb76439de42dd21757ec442cc Mon Sep 17 00:00:00 2001 From: Reimoo Date: Mon, 27 Mar 2023 10:00:01 -0700 Subject: Update style.css Co-authored-by: missionfloyd --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style.css') diff --git a/style.css b/style.css index aca32fcf..1a58c4a7 100644 --- a/style.css +++ b/style.css @@ -596,7 +596,7 @@ footer { /* extra networks UI */ -.extra-network-cards{ +#txt2img_extra_tabs > .tabitem, #img2img_extra_tabs > .tabitem{ height: 400px; overflow: scroll; resize: vertical; -- cgit v1.2.3 From 6f77567e13227b49626ebaa827cc0f39350bcb2e Mon Sep 17 00:00:00 2001 From: Reimoo Date: Mon, 27 Mar 2023 10:08:42 -0700 Subject: Update style.css --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style.css') diff --git a/style.css b/style.css index 1a58c4a7..aca32fcf 100644 --- a/style.css +++ b/style.css @@ -596,7 +596,7 @@ footer { /* extra networks UI */ -#txt2img_extra_tabs > .tabitem, #img2img_extra_tabs > .tabitem{ +.extra-network-cards{ height: 400px; overflow: scroll; resize: vertical; -- cgit v1.2.3 From d667fc435f6210575ba50a6f3a05d3853b233caa Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Tue, 28 Mar 2023 22:23:40 +0300 Subject: add "resize by" and "resize to" tabs to img2img --- style.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'style.css') diff --git a/style.css b/style.css index de16a7f2..c1c9015b 100644 --- a/style.css +++ b/style.css @@ -293,7 +293,12 @@ button.custom-button{ margin-left: -0.75em } -#txtimg_hr_finalres .resolution{ +#img2img_scale_resolution_preview.block{ + display: flex; + align-items: end; +} + +#txtimg_hr_finalres .resolution, #img2img_scale_resolution_preview .resolution{ font-weight: bold; } @@ -333,6 +338,18 @@ div.dimensions-tools{ overflow-wrap: break-word; } +#img2img_column_batch{ + align-self: end; + margin-bottom: 0.9em; +} + +#img2img_unused_scale_by_slider{ + visibility: hidden; + width: 0.5em; + max-width: 0.5em; + min-width: 0.5em; +} + /* settings */ #quicksettings { width: fit-content; -- cgit v1.2.3 From a73f3bf0cfc89cde294b42f5c566017daf4b2ccd Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Thu, 30 Mar 2023 23:19:40 -0600 Subject: Change extras "scale to" to sliders --- style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index de16a7f2..aafc2362 100644 --- a/style.css +++ b/style.css @@ -312,6 +312,10 @@ div.dimensions-tools{ align-content: center; } +div#extras_scale_to_tab div.form{ + flex-direction: row; +} + #mode_img2img .gradio-image > div.fixed-height, #mode_img2img .gradio-image > div.fixed-height img{ height: 480px !important; max-height: 480px !important; -- cgit v1.2.3 From cd7f2b19f45a28c8eeb88994c8972c61c8a3c63d Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Sat, 29 Apr 2023 22:17:32 +0300 Subject: increase extra networks UI height to fit two rows of cards. --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style.css') diff --git a/style.css b/style.css index 937e1dc7..3f56087a 100644 --- a/style.css +++ b/style.css @@ -664,7 +664,7 @@ footer { /* extra networks UI */ .extra-network-cards{ - height: 400px; + height: 725px; overflow: scroll; resize: vertical; } -- cgit v1.2.3