Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
•
174623f
1
Parent(s):
dd160ff
border adjustment
Browse files
app.py
CHANGED
@@ -9,9 +9,9 @@ css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen&display=s
|
|
9 |
".tabitem{background-color:#002366}#component-1{min-height:75vh}#component-4{" \
|
10 |
"margin-top:auto}.tabs.svelte-btpldm{height:100%}.tabitem{border:1px solid #fff}#component-48,#component-51{" \
|
11 |
"position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(" \
|
12 |
-
"-50%);width:50%;height:50vh;padding:
|
13 |
"#002366}#component-49{position:initial}#component-50,#component-62{" \
|
14 |
-
"position:absolute;top:
|
15 |
|
16 |
with gr.Blocks(theme=theme, css=css) as iface:
|
17 |
chatbot = []
|
|
|
9 |
".tabitem{background-color:#002366}#component-1{min-height:75vh}#component-4{" \
|
10 |
"margin-top:auto}.tabs.svelte-btpldm{height:100%}.tabitem{border:1px solid #fff}#component-48,#component-51{" \
|
11 |
"position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(" \
|
12 |
+
"-50%);width:50%;height:50vh;padding:80px 20px 20px;background-color:#fff;border:1px solid " \
|
13 |
"#002366}#component-49{position:initial}#component-50,#component-62{" \
|
14 |
+
"position:absolute;top:20px;right:20px;width:44px;height:44px;min-width:44px;min-height:44px}"
|
15 |
|
16 |
with gr.Blocks(theme=theme, css=css) as iface:
|
17 |
chatbot = []
|
style.css
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
transform: translateX(-50%) translateY(-50%);
|
35 |
width: 50%;
|
36 |
height: 50vh;
|
37 |
-
padding:
|
38 |
background-color: #fff;
|
39 |
border: 1px solid #002366;
|
40 |
}
|
@@ -45,8 +45,8 @@
|
|
45 |
|
46 |
#component-50, #component-62 {
|
47 |
position: absolute;
|
48 |
-
top:
|
49 |
-
right:
|
50 |
width: 44px;
|
51 |
height: 44px;
|
52 |
min-width: 44px;
|
|
|
34 |
transform: translateX(-50%) translateY(-50%);
|
35 |
width: 50%;
|
36 |
height: 50vh;
|
37 |
+
padding: 80px 20px 20px;
|
38 |
background-color: #fff;
|
39 |
border: 1px solid #002366;
|
40 |
}
|
|
|
45 |
|
46 |
#component-50, #component-62 {
|
47 |
position: absolute;
|
48 |
+
top: 20px;
|
49 |
+
right: 20px;
|
50 |
width: 44px;
|
51 |
height: 44px;
|
52 |
min-width: 44px;
|