Ahmed Essam commited on
Commit
5315878
·
1 Parent(s): 6884d81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -22
app.py CHANGED
@@ -129,32 +129,26 @@ a {text-decoration-line: underline; font-weight: 600;}
129
  display: none !important;
130
  }
131
  #gallery .caption-label.svelte-w0jac3 {
132
- font-size: 15px;
133
- right: 0;
134
- max-width: 100%; /* Added missing semicolon */
135
- text-overflow: clip;
136
- white-space: normal;
137
- overflow: auto;
138
- height: 20%;
139
  }
140
 
141
- #gallery .grid-wrap.svelte-w0jac3.fixed-height .grid-wrap.svelte-w0jac3.fixed-height{
142
- overflow-y: clip;
143
- }
144
- #gallery .fixed-height.svelte-w0jac3.svelte-w0jac3{
145
- max-height: 75vh;
 
 
 
 
146
  }
147
 
148
- #gallery .caption.svelte-w0jac3{
149
- padding: var(--size-2) var(--size-3);
150
- text-overflow: clip;
151
- white-space: normal; /* Allows the text to wrap */
152
- color: var(--block-label-text-color);
153
- font-weight: var(--weight-semibold);
154
- text-align: center;
155
- height: 100%;
156
- font-size: 17px;
157
- }
158
  '''
159
 
160
  with gr.Blocks(css=css) as block:
 
129
  display: none !important;
130
  }
131
  #gallery .caption-label.svelte-w0jac3 {
132
+ font-size: 15px !important;
133
+ right: 0 !important;
134
+ max-width: 100% !important;
135
+ text-overflow: clip !important;
136
+ white-space: normal !important;
137
+ overflow: auto !important;
138
+ height: 20% !important;
139
  }
140
 
141
+ #gallery .caption.svelte-w0jac3 {
142
+ padding: var(--size-2) var(--size-3) !important;
143
+ text-overflow: clip !important;
144
+ white-space: normal !important; /* Allows the text to wrap */
145
+ color: var(--block-label-text-color) !important;
146
+ font-weight: var(--weight-semibold) !important;
147
+ text-align: center !important;
148
+ height: 100% !important;
149
+ font-size: 17px !important;
150
  }
151
 
 
 
 
 
 
 
 
 
 
 
152
  '''
153
 
154
  with gr.Blocks(css=css) as block: