radames HF staff commited on
Commit
b647792
1 Parent(s): e7be83c

fix button styles

Browse files
Files changed (1) hide show
  1. app.py +19 -3
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; padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; width: 13rem;
 
 
 
 
 
 
 
134
  margin-top: 10px;
135
  margin-left: auto;
 
136
  }
137
  #share-btn {
138
- all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: 'IBM Plex Sans', sans-serif; margin-left: 0.5rem !important; padding-top: 0.25rem !important; padding-bottom: 0.25rem !important;right:0;
 
 
 
 
 
 
 
 
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;