Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
8d197b6a
Commit
8d197b6a
authored
Sep 17, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added user.css support
parent
77dcb216
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
.gitignore
.gitignore
+1
-0
modules/ui.py
modules/ui.py
+5
-0
style.css
style.css
+0
-3
No files found.
.gitignore
View file @
8d197b6a
...
...
@@ -16,3 +16,4 @@ __pycache__
/webui-user.bat
/webui-user.sh
/interrogate
/user.css
modules/ui.py
View file @
8d197b6a
...
...
@@ -801,6 +801,11 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
with
open
(
os
.
path
.
join
(
script_path
,
"style.css"
),
"r"
,
encoding
=
"utf8"
)
as
file
:
css
=
file
.
read
()
if
os
.
path
.
exists
(
os
.
path
.
join
(
script_path
,
"style.css"
)):
with
open
(
os
.
path
.
join
(
script_path
,
"user.css"
),
"r"
,
encoding
=
"utf8"
)
as
file
:
usercss
=
file
.
read
()
css
+=
usercss
if
not
cmd_opts
.
no_progressbar_hiding
:
css
+=
css_hide_progressbar
...
...
style.css
View file @
8d197b6a
...
...
@@ -21,9 +21,6 @@
min-height
:
4.5em
;
}
#txt2img_gallery
,
#img2img_gallery
{
min-height
:
768px
;
}
#txt2img_gallery
img
,
#img2img_gallery
img
{
object-fit
:
scale-down
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment