File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 6
6
}
7
7
# search {
8
8
margin-top : 20vh ;
9
+ margin-left : auto;
10
+ margin-right : auto;
11
+ max-width : 800px ;
12
+
9
13
text-align : center;
10
14
}
11
15
fieldset {
12
16
border : none;
13
17
}
18
+ # fieldset-search {
19
+ display : flex;
20
+ }
14
21
# prompt {
15
- width : 500px ;
22
+ flex-grow : 1 ;
23
+
16
24
border-radius : 20px 0px 0px 20px ;
17
25
padding : 5px 10px 5px 10px ;
18
26
border : 1px solid black;
27
+ border-right : none;
19
28
outline : none;
20
29
}
21
30
# submit {
@@ -25,8 +34,8 @@ fieldset {
25
34
}
26
35
# results {
27
36
text-align : center;
28
- padding-left : 20 vw ;
29
- padding-right : 20 vw ;
37
+ max-width : 1000 px ;
38
+ margin : auto ;
30
39
padding-top : 10px ;
31
40
}
32
41
img {
35
44
border-radius : 5px ;
36
45
margin : 10px ;
37
46
}
38
- # generate -config {
47
+ # fieldset -config {
39
48
line-height : 2em ;
40
49
}
41
50
input [type = "number" ] {
@@ -47,3 +56,6 @@ input[type="number"] {
47
56
hr {
48
57
width : 200px ;
49
58
}
59
+ label {
60
+ white-space : nowrap;
61
+ }
Original file line number Diff line number Diff line change 2
2
< head >
3
3
< title > Stable Diffusion WebUI</ title >
4
4
< link rel ="icon " href ="data:, ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
5
6
6
7
< link rel ="stylesheet " href ="scripts/static/index.css ">
7
8
< script src ="scripts/static/index.js "> </ script >
11
12
< h2 id ="header "> Stable Diffusion</ h2 >
12
13
13
14
< form id ="generate-form " method ="post " action ="# ">
14
- < fieldset >
15
+ < fieldset id =" fieldset-search " >
15
16
< input type ="text " id ="prompt " name ="prompt ">
16
17
< input type ="submit " id ="submit " value ="Generate ">
17
18
</ fieldset >
18
- < fieldset id ="generate -config ">
19
+ < fieldset id ="fieldset -config ">
19
20
< label for ="batch "> Batch Size:</ label >
20
21
< input value ="1 " type ="number " id ="batch " name ="batch ">
21
22
< label for ="steps "> Steps:</ label >
You can’t perform that action at this time.
0 commit comments