From ba9b4696bb6d341d30cb0b0a0159da9209ee2c7f Mon Sep 17 00:00:00 2001 From: RossAsscends <124905043+RossAscends@users.noreply.github.com> Date: Wed, 22 Mar 2023 11:32:02 +0900 Subject: [PATCH] fixed widths for BG and sliders drawers --- public/index.html | 79 ++++++++++++++++++++--------------------------- public/style.css | 18 ++++++----- 2 files changed, 43 insertions(+), 54 deletions(-) diff --git a/public/index.html b/public/index.html index eb446a2ae..8d3e810c5 100644 --- a/public/index.html +++ b/public/index.html @@ -122,7 +122,7 @@

API key

-
Where to get +
Where to get ? @@ -186,7 +186,7 @@
Not connected
- +
- +
@@ -263,14 +262,14 @@ - +
-
+
-
+
@@ -278,16 +277,14 @@ Amount generation
select - +
Context Size
select - +
@@ -348,7 +345,7 @@
Repetition Penalty Range - +
select
@@ -365,8 +362,7 @@ select
- +
@@ -377,8 +373,7 @@ select
- +
@@ -389,8 +384,7 @@ select
- +
@@ -406,14 +400,13 @@ - +
OpenAI max response length (in tokens)
- +
@@ -428,7 +421,7 @@ - +
Frequency Penalty @@ -440,7 +433,7 @@
- +
Presence Penalty @@ -474,7 +467,7 @@
-
+
@@ -553,9 +546,9 @@
- + ***COMING SOON*** - +
@@ -566,8 +559,7 @@ select
- +
@@ -578,8 +570,7 @@ select
- +
@@ -590,8 +581,7 @@ select
- +
@@ -602,12 +592,11 @@ select
- +
- +
- +
- + - +
-
+
@@ -655,11 +644,10 @@ The main prompt used to set the model behavior
- +
- +
NSFW prompt @@ -668,11 +656,10 @@ Prompt that is used when the NSFW toggle is on
- +
- +
@@ -682,7 +669,7 @@
- +
diff --git a/public/style.css b/public/style.css index 5647e97b0..b663b477d 100644 --- a/public/style.css +++ b/public/style.css @@ -910,14 +910,14 @@ input[type=search]:focus::-webkit-search-cancel-button { #bg_menu_content { margin-top: 5px; display: flex; - flex-wrap:wrap; - max-width: 450px; + flex-wrap: wrap; + width: 100%; + max-width: 800px; justify-content: center; } .bg_example { - width: 30%; - max-height: 100px; + width: 23%; background-repeat: no-repeat; background-size: cover; background-position: center; @@ -925,7 +925,7 @@ input[type=search]:focus::-webkit-search-cancel-button { border: 1px solid var(--black50a); box-shadow: 0 0 7px var(--black50a); margin: 5px; - aspect-ratio: 4/3; + aspect-ratio: 16/9; } .bg_example_cross { @@ -946,7 +946,7 @@ input[type=search]:focus::-webkit-search-cancel-button { } #form_bg_download { - width:30%; + width: 23%; margin: 5px; } @@ -2792,7 +2792,6 @@ filter: invert(20%) sepia(100%) saturate(2518%) hue-rotate(353deg) brightness(93 border: 1px solid grey; box-shadow: 0 0 20px black; /* min-width:400px; */ - width: max-content; overflow-y: scroll; max-height: 90vh; display: none; @@ -2800,6 +2799,7 @@ filter: invert(20%) sepia(100%) saturate(2518%) hue-rotate(353deg) brightness(93 left:0; right:0; width: max-content; + max-width:800px; margin: 30px auto; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); @@ -2810,7 +2810,9 @@ filter: invert(20%) sepia(100%) saturate(2518%) hue-rotate(353deg) brightness(93 gap: 20px; } -.wide50p { width:50%;} +.flexWide50p { flex:50%;} + +.widthFreeExpand {width: unset;}