GitHub Actions commited on
Commit
63bbcd2
·
1 Parent(s): e238cca

Sync from GitHub: ad52973

Browse files
Files changed (1) hide show
  1. webui/styles.css +23 -4
webui/styles.css CHANGED
@@ -41,17 +41,32 @@ html, body, gradio-app, .gradio-container {
41
  border: none !important;
42
  box-shadow: none !important;
43
  padding: 0 !important;
 
 
 
 
 
 
 
 
 
 
 
44
  }
45
 
46
  /* === Header === */
47
  .app-header h1 {
48
- font-size: 56px !important;
49
  font-weight: 600 !important;
50
- letter-spacing: -2.8px !important;
51
  line-height: 1.05 !important;
52
  text-align: center !important;
53
  color: #ededed !important;
54
  margin: 0 0 16px 0 !important;
 
 
 
 
55
  }
56
  .app-subtitle, .app-subtitle p {
57
  text-align: center !important;
@@ -83,12 +98,16 @@ html, body, gradio-app, .gradio-container {
83
  margin: 0 0 8px 0 !important;
84
  }
85
  .phase-title h2 {
86
- font-size: 32px !important;
87
  font-weight: 600 !important;
88
- letter-spacing: -1.28px !important;
89
  color: #ededed !important;
90
  line-height: 1.15 !important;
91
  margin: 0 0 12px 0 !important;
 
 
 
 
92
  }
93
  .phase-desc p {
94
  color: #a3a3a3 !important;
 
41
  border: none !important;
42
  box-shadow: none !important;
43
  padding: 0 !important;
44
+ overflow: visible !important;
45
+ }
46
+
47
+ /* Markdown rendering wrappers must not introduce horizontal scroll
48
+ (HF Spaces injects overflow-x: auto on .prose, which makes headings
49
+ look like scrollable strips when the iframe is narrow). */
50
+ .gradio-container .prose,
51
+ .gradio-container .markdown,
52
+ .gradio-container .md {
53
+ overflow: visible !important;
54
+ max-width: 100% !important;
55
  }
56
 
57
  /* === Header === */
58
  .app-header h1 {
59
+ font-size: clamp(36px, 8vw, 56px) !important;
60
  font-weight: 600 !important;
61
+ letter-spacing: -2.4px !important;
62
  line-height: 1.05 !important;
63
  text-align: center !important;
64
  color: #ededed !important;
65
  margin: 0 0 16px 0 !important;
66
+ overflow: visible !important;
67
+ overflow-wrap: anywhere !important;
68
+ white-space: normal !important;
69
+ max-width: 100% !important;
70
  }
71
  .app-subtitle, .app-subtitle p {
72
  text-align: center !important;
 
98
  margin: 0 0 8px 0 !important;
99
  }
100
  .phase-title h2 {
101
+ font-size: clamp(24px, 5vw, 32px) !important;
102
  font-weight: 600 !important;
103
+ letter-spacing: -1.12px !important;
104
  color: #ededed !important;
105
  line-height: 1.15 !important;
106
  margin: 0 0 12px 0 !important;
107
+ overflow: visible !important;
108
+ overflow-wrap: anywhere !important;
109
+ white-space: normal !important;
110
+ max-width: 100% !important;
111
  }
112
  .phase-desc p {
113
  color: #a3a3a3 !important;