anapnoe / stable-diffusion-webui-ux

Stable Diffusion web UI UX
GNU Affero General Public License v3.0
989 stars 58 forks source link

[Bug]: CSS width bug #154

Closed halr9000 closed 1 year ago

halr9000 commented 1 year ago

Is there an existing issue for this?

What happened?

In a recent commit, I saw a change to how browser width was handled, resulting in some truncation. Old behavior handled it more gracefully, which I can force by increasing text size or reducing width even further. I see this problem lately when browsing from my iPad, which I do often, but it's easy to repro from desktop as well.

Best to show these pics:

Good: image

Also good (very narrow, this is more like what you see on a phone): image

Not good: image

Steps to reproduce the problem

  1. Open UX in full screen or otherwise large browser window
  2. WIN-left cursor to dock window to left half of screen
  3. Stuff isn't so pretty
  4. ctrl- + or ctrl- minus can "fix"

Or

  1. Open UX from iPad
  2. stuff isn't so pretty

What should have happened?

respect the boundaries

Commit where the problem happens

b4adfff15a659d109bd9a3bf49acee4ff0103bf2

What platforms do you use to access the UI ?

Windows, iOS, Android

What browsers do you use to access the UI ?

Google Chrome, Apple Safari

Command Line Arguments

Launching Web UI with arguments: --listen --enable-insecure-extension-access --no-half --api --xformers --update-all-extensions --ckpt-dir=D:\hal\stable-diffusion\models\Stable-diffusion --lora-dir=D:\hal\stable-diffusion\models\Lora --embeddings-dir=D:\hal\stable-diffusion\models\Embeddings --hypernetwork-dir=D:\hal\stable-diffusion\models\Hypernetworks

List of extensions

a1111-sd-webui-locon a1111-sd-webui-lycoris a1111-sd-webui-tagcomplete depthmap2mask multidiffusion-upscaler-for-automatic1111 OneButtonPrompt sd-canvas-editor sd-dynamic-prompts sd-extension-system-info sd-webui-3d-open-pose-editor sd-webui-ar sd-webui-controlnet sd-webui-enable-checker sd-webui-infinite-image-browsing sd-webui-inpaint-anything sd-webui-regional-prompter sd-webui-segment-anything Stable-Diffusion-Webui-Civitai-Helper stable-diffusion-webui-composable-lora stable-diffusion-webui-promptgen stable-diffusion-webui-randomize stable-diffusion-webui-two-shot ultimate-upscale-for-automatic1111

Console logs

PS D:\hal\stable-diffusion\ux> .\webui-user.bat
venv "D:\hal\stable-diffusion\ux\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Version: <none>
Commit hash: b4adfff15a659d109bd9a3bf49acee4ff0103bf2
Installing requirements
Fetching updates for midas...
Checking out commit for midas with hash: 1645b7e...

Installing sd-dynamic-prompts requirements.txt

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\a1111-sd-webui-locon':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\a1111-sd-webui-lycoris':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\a1111-sd-webui-tagcomplete':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\depthmap2mask':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\multidiffusion-upscaler-for-automatic1111':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\OneButtonPrompt':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-canvas-editor':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-dynamic-prompts':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-extension-system-info':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-3d-open-pose-editor':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-ar':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-controlnet':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-enable-checker':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-infinite-image-browsing':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-inpaint-anything':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-regional-prompter':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\sd-webui-segment-anything':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\Stable-Diffusion-Webui-Civitai-Helper':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\stable-diffusion-webui-composable-lora':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\stable-diffusion-webui-promptgen':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\stable-diffusion-webui-randomize':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\stable-diffusion-webui-two-shot':
Already up to date.

Pulled changes for repository in 'D:\hal\stable-diffusion\ux\extensions\ultimate-upscale-for-automatic1111':
Already up to date.

Launching Web UI with arguments: --listen --enable-insecure-extension-access --no-half --api --xformers --update-all-extensions --ckpt-dir=D:\hal\stable-diffusion\models\Stable-diffusion --lora-dir=D:\hal\stable-diffusion\models\Lora --embeddings-dir=D:\hal\stable-diffusion\models\Embeddings --hypernetwork-dir=D:\hal\stable-diffusion\models\Hypernetworks
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: D:\hal\stable-diffusion\ux\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
Loading weights [9aba26abdf] from D:\hal\stable-diffusion\models\Stable-diffusion\sd15\deliberate_v2.safetensors
Creating model from config: D:\hal\stable-diffusion\ux\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(33): 16-token-negative-deliberate-neg, AS-Adult-neg, AS-Young, AS-Young-neg, AS-Younger, AS-Youngest, Asian-Less, Asian-Less-Neg, Bsft, dangerdonkey, easynegative, fractal-flame, gothbuilding, hrgiger-drmacabre, Isometric_Dreams, kc16-4000-sd1-5, kkw-micro, ng_deepnegative_v1_75t, photozoov15, Planit, qualityzoov15, renderzoov15, structurezoov15, Style-Glass, Style-Info, style-paintmagic, Style-Psycho, Style-Renaissance, style-rustmagic, Style-Winter, vintagemap_f, was-dieselpunk, was-mecha
Textual inversion embeddings skipped(10): dangerhorse, Neg_Facelift768, nfixer, nrealfixer, photozoov21, DrD_PNTE768, Painted_Landscape, ParchArt, Davespacefour, Knollingcase
Model loaded in 7.9s (load weights from disk: 0.2s, create model: 0.3s, apply weights to model: 4.6s, move model to device: 1.1s, load textual inversion embeddings: 1.7s).
ControlNet v1.1.183
ControlNet v1.1.183
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 27.6s (import torch: 2.4s, import gradio: 1.2s, import ldm: 0.7s, other imports: 1.1s, load scripts: 11.7s, create ui: 3.6s, gradio launch: 6.7s).

Additional information

No response