Spaces:
Running
on
T4
Running
on
T4
fix button styles
Browse files
app.py
CHANGED
@@ -130,15 +130,31 @@ def gen_tts(text, history_prompt): # , temp_semantic, temp_waveform):
|
|
130 |
|
131 |
css = """
|
132 |
#share-btn-container {
|
133 |
-
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
margin-top: 10px;
|
135 |
margin-left: auto;
|
|
|
136 |
}
|
137 |
#share-btn {
|
138 |
-
all: initial;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
}
|
140 |
#share-btn * {
|
141 |
-
all: unset;
|
142 |
}
|
143 |
#share-btn-container div:nth-child(-n+2){
|
144 |
width: auto !important;
|
|
|
130 |
|
131 |
css = """
|
132 |
#share-btn-container {
|
133 |
+
display: flex;
|
134 |
+
padding-left: 0.5rem !important;
|
135 |
+
padding-right: 0.5rem !important;
|
136 |
+
background-color: #000000;
|
137 |
+
justify-content: center;
|
138 |
+
align-items: center;
|
139 |
+
border-radius: 9999px !important;
|
140 |
+
width: 13rem;
|
141 |
margin-top: 10px;
|
142 |
margin-left: auto;
|
143 |
+
flex: unset !important;
|
144 |
}
|
145 |
#share-btn {
|
146 |
+
all: initial;
|
147 |
+
color: #ffffff;
|
148 |
+
font-weight: 600;
|
149 |
+
cursor: pointer;
|
150 |
+
font-family: 'IBM Plex Sans', sans-serif;
|
151 |
+
margin-left: 0.5rem !important;
|
152 |
+
padding-top: 0.25rem !important;
|
153 |
+
padding-bottom: 0.25rem !important;
|
154 |
+
right:0;
|
155 |
}
|
156 |
#share-btn * {
|
157 |
+
all: unset !important;
|
158 |
}
|
159 |
#share-btn-container div:nth-child(-n+2){
|
160 |
width: auto !important;
|