oliver-aizip kai-aizip commited on
Commit
e8977bd
·
verified ·
1 Parent(s): d958e2a

Refine UI (#14)

Browse files

- Refine UI (956cc828365c83ba99adaca104558eda8b954081)


Co-authored-by: Kai <kai-aizip@users.noreply.huggingface.co>

Files changed (1) hide show
  1. static/styles.css +15 -14
static/styles.css CHANGED
@@ -85,12 +85,10 @@ body, .gradio-container {
85
 
86
  .tabitem {
87
  border: none !important;
88
- padding: 20px 10px !important;
89
  }
90
 
91
  #query-title-row {
92
  margin: 0 !important;
93
- padding: 0 10px !important;
94
  display: flex !important;
95
  align-items: center !important;
96
  overflow: visible !important;
@@ -117,7 +115,6 @@ body, .gradio-container {
117
  display: flex !important;
118
  align-items: stretch !important;
119
  gap: 10px !important;
120
- margin: 0 10px 8px 10px !important;
121
  overflow: visible !important;
122
  }
123
 
@@ -165,8 +162,6 @@ body, .gradio-container {
165
 
166
  .context-description {
167
  background-color: transparent !important;
168
- padding: 0 15px !important;
169
- margin: 0 0 15px 0 !important;
170
  font-style: normal !important;
171
  color: var(--text-medium) !important;
172
  font-size: 1.05em !important;
@@ -215,8 +210,6 @@ body, .gradio-container {
215
  display: flex !important;
216
  justify-content: space-between !important;
217
  align-items: center !important;
218
- margin-bottom: 8px !important;
219
- padding: 0 10px !important;
220
  }
221
 
222
  .context-title {
@@ -394,7 +387,7 @@ body, .gradio-container {
394
  background-color: transparent !important;
395
  border: none !important;
396
  color: var(--text-dark) !important;
397
- font-size: 1em !important;
398
  line-height: 1.4 !important;
399
  height: auto !important;
400
  min-height: 150px !important;
@@ -475,7 +468,7 @@ body, .gradio-container {
475
  margin-top: 3px !important;
476
  margin-bottom: 3px !important;
477
  font-size: 1em;
478
- border: none !important;
479
  box-shadow: none !important;
480
  }
481
 
@@ -665,12 +658,12 @@ hr {
665
  padding-bottom: 0 !important;
666
  }
667
 
668
- .gradio-container {
669
- padding: 0 !important;
670
  }
671
 
672
- #main-interface-area > div {
673
- margin-bottom: 4px !important;
674
  }
675
 
676
  @media screen and (max-width: 768px) {
@@ -851,4 +844,12 @@ hr {
851
  color: var(--text-medium, #666666);
852
  font-size: 0.9em;
853
  font-weight: normal;
854
- }
 
 
 
 
 
 
 
 
 
85
 
86
  .tabitem {
87
  border: none !important;
 
88
  }
89
 
90
  #query-title-row {
91
  margin: 0 !important;
 
92
  display: flex !important;
93
  align-items: center !important;
94
  overflow: visible !important;
 
115
  display: flex !important;
116
  align-items: stretch !important;
117
  gap: 10px !important;
 
118
  overflow: visible !important;
119
  }
120
 
 
162
 
163
  .context-description {
164
  background-color: transparent !important;
 
 
165
  font-style: normal !important;
166
  color: var(--text-medium) !important;
167
  font-size: 1.05em !important;
 
210
  display: flex !important;
211
  justify-content: space-between !important;
212
  align-items: center !important;
 
 
213
  }
214
 
215
  .context-title {
 
387
  background-color: transparent !important;
388
  border: none !important;
389
  color: var(--text-dark) !important;
390
+ font-size: 1.1em !important;
391
  line-height: 1.4 !important;
392
  height: auto !important;
393
  min-height: 150px !important;
 
468
  margin-top: 3px !important;
469
  margin-bottom: 3px !important;
470
  font-size: 1em;
471
+ border: none !important;
472
  box-shadow: none !important;
473
  }
474
 
 
658
  padding-bottom: 0 !important;
659
  }
660
 
661
+ .gradio-markdown p {
662
+ margin-bottom: 0.5em !important;
663
  }
664
 
665
+ .gradio-container {
666
+ padding: 0 !important;
667
  }
668
 
669
  @media screen and (max-width: 768px) {
 
844
  color: var(--text-medium, #666666);
845
  font-size: 0.9em;
846
  font-weight: normal;
847
+ }
848
+
849
+ .html-container.svelte-phx28p.padding {
850
+ padding: 0 !important; /* Remove the padding completely */
851
+ }
852
+
853
+ span.svelte-7ddecg p:not(:first-child) {
854
+ margin-top: 0 !important;
855
+ }