Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
3de03651
Commit
3de03651
authored
Oct 26, 2022
by
xmodar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add id access to scripts list in the css
parent
54cdd4e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
scripts.py
modules/scripts.py
+1
-1
style.css
style.css
+6
-11
No files found.
modules/scripts.py
View file @
3de03651
...
@@ -236,7 +236,7 @@ class ScriptRunner:
...
@@ -236,7 +236,7 @@ class ScriptRunner:
with
gr
.
Group
():
with
gr
.
Group
():
create_script_ui
(
script
,
inputs
,
inputs_alwayson
)
create_script_ui
(
script
,
inputs
,
inputs_alwayson
)
dropdown
=
gr
.
Dropdown
(
label
=
"Script"
,
choices
=
[
"None"
]
+
self
.
titles
,
value
=
"None"
,
type
=
"index"
)
dropdown
=
gr
.
Dropdown
(
label
=
"Script"
,
elem_id
=
"script_list"
,
choices
=
[
"None"
]
+
self
.
titles
,
value
=
"None"
,
type
=
"index"
)
dropdown
.
save_to_config
=
True
dropdown
.
save_to_config
=
True
inputs
[
0
]
=
dropdown
inputs
[
0
]
=
dropdown
...
...
style.css
View file @
3de03651
...
@@ -526,19 +526,14 @@ Then, you will need to add the RTL counterpart only if needed in the rtl section
...
@@ -526,19 +526,14 @@ Then, you will need to add the RTL counterpart only if needed in the rtl section
:host
{
:host
{
direction
:
rtl
;
direction
:
rtl
;
}
}
.file-preview
,
select
,
.file-preview
,
.gr-text-input
,
.output-html
:has
(
.performance
)
{
.gr-text-input
,
.output-html
:has
(
.performance
),
#txt2img_style_index
>
label
>
select
,
#txt2img_style2_index
>
label
>
select
,
#img2img_style_index
>
label
>
select
,
#img2img_style2_index
>
label
>
select
,
#setting_sd_model_checkpoint
>
label
>
select
,
#modelmerger_primary_model_name
>
label
>
select
,
#modelmerger_secondary_model_name
>
label
>
select
,
#modelmerger_tertiary_model_name
>
label
>
select
{
direction
:
ltr
;
direction
:
ltr
;
}
}
#script_list
>
label
>
select
,
#x_type
>
label
>
select
,
#y_type
>
label
>
select
{
direction
:
rtl
;
}
.gr-radio
,
.gr-checkbox
{
.gr-radio
,
.gr-checkbox
{
margin-left
:
0.25em
;
margin-left
:
0.25em
;
}
}
...
...
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