openfree commited on
Commit
416c3df
Β·
verified Β·
1 Parent(s): 54ae0d5

Update app.css

Browse files
Files changed (1) hide show
  1. app.css +54 -71
app.css CHANGED
@@ -17,6 +17,12 @@
17
  --neutral-400: #ced4da;
18
  }
19
 
 
 
 
 
 
 
20
  body {
21
  font-family: 'Inter', system-ui, sans-serif;
22
  background: var(--background);
@@ -24,71 +30,58 @@ body {
24
  line-height: 1.5;
25
  }
26
 
27
- /* MOUSE νƒ­ 높이 κ΄€λ ¨ μŠ€νƒ€μΌ */
28
- .main-tabs {
29
- min-height: 100vh !important;
30
- display: flex !important;
31
- flex-direction: column !important;
32
- }
33
-
34
- .main-tabs > div[role="tabpanel"] {
35
- flex: 1 !important;
36
- min-height: calc(100vh - 60px) !important;
37
- }
38
-
39
- .mouse-tab {
40
- height: 100% !important;
41
- display: flex !important;
42
- flex-direction: column !important;
43
- }
44
-
45
- /* λ ˆμ΄μ•„μ›ƒ μ»¨ν…Œμ΄λ„ˆ 높이 μ‘°μ • */
46
- .ant-row {
47
- min-height: calc(100vh - 100px) !important;
48
- }
49
-
50
- /* 쒌츑 νŒ¨λ„ 높이 μ‘°μ • */
51
- .ant-col-md-8 {
52
- height: 100% !important;
53
- }
54
-
55
- .ant-flex {
56
- height: 100% !important;
57
- }
58
-
59
- /* ν”„λ‘¬ν”„νŠΈ μž…λ ₯μ°½ 높이 κ°•μ œ μ„€μ • */
60
  .ant-input-textarea-large textarea,
61
  .ant-input-textarea textarea,
62
  #component-0 textarea,
63
  textarea,
64
  .ant-input textarea,
65
- div[class*="ant-input"] textarea {
 
66
  height: 300px !important;
67
  min-height: 300px !important;
68
  max-height: 300px !important;
69
  resize: none !important;
70
  overflow-y: auto !important;
 
71
  border: 2px solid var(--neutral-200);
72
  border-radius: 12px;
73
  padding: 1rem;
74
  }
75
 
 
 
 
 
 
 
 
 
 
 
76
  /* μƒŒλ“œλ°•μŠ€ μ»¨ν…Œμ΄λ„ˆ μ„€μ • */
77
  .sandbox-container {
 
78
  height: 800px !important;
79
  max-height: 800px !important;
80
  overflow: hidden !important;
81
- position: relative !important;
 
 
 
 
82
  }
83
 
84
  /* iframe μ„€μ • */
 
85
  .sandbox-container iframe,
86
- .html_content iframe,
87
- iframe {
88
  width: 100% !important;
89
  height: 800px !important;
 
90
  max-height: 800px !important;
91
  border: none !important;
 
92
  position: absolute !important;
93
  top: 0 !important;
94
  left: 0 !important;
@@ -96,29 +89,31 @@ iframe {
96
  bottom: 0 !important;
97
  }
98
 
99
- /* 우츑 νŒ¨λ„ μ„€μ • */
100
- .right_panel {
101
- height: 900px !important;
102
- max-height: 900px !important;
103
- overflow: hidden !important;
104
- display: flex !important;
105
- flex-direction: column !important;
106
- padding-top: 50px;
107
- }
108
-
109
  /* HTML 컨텐츠 μ˜μ—­ μ„€μ • */
110
  .html_content {
111
- flex: 1 !important;
112
  height: 800px !important;
 
113
  max-height: 800px !important;
114
  overflow: hidden !important;
115
  position: relative !important;
 
116
  border-radius: 12px;
117
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
118
  background: var(--surface);
119
  }
120
 
121
- /* 컨텐츠 μ˜μ—­ κ°•μ œ 높이 μ„€μ • */
 
 
 
 
 
 
 
 
 
 
122
  .right_content {
123
  height: 800px !important;
124
  min-height: 800px !important;
@@ -132,35 +127,17 @@ iframe {
132
  border-radius: 0 0 8px 8px;
133
  }
134
 
135
- /* νƒ­ 컨텐츠 μ˜μ—­ 높이 μ‘°μ • */
136
- .ant-tabs-content {
137
- height: 100% !important;
138
- }
139
-
140
- .ant-tabs-tabpane {
141
- height: 100% !important;
142
- }
143
-
144
- /* 컨텐츠 슀크둀 λ°©μ§€ */
145
  .gradio-container,
146
  .contain,
147
- .contain > div,
148
  .content-wrap,
149
- .content {
 
 
150
  max-height: 900px !important;
151
  overflow: hidden !important;
152
  }
153
 
154
- /* 좔가적인 λ ˆμ΄μ•„μ›ƒ μ•ˆμ •μ„±μ„ μœ„ν•œ μŠ€νƒ€μΌ */
155
- .ms-application {
156
- height: 100% !important;
157
- min-height: 100vh !important;
158
- }
159
-
160
- .ant-config-provider {
161
- height: 100% !important;
162
- }
163
-
164
  .left_header {
165
  display: flex;
166
  flex-direction: column;
@@ -362,10 +339,16 @@ iframe {
362
  .html_content,
363
  iframe {
364
  height: 800px !important;
 
365
  max-height: 800px !important;
366
  }
367
  }
368
 
369
  footer, .footer, div[class*="footer"], #footer {
370
  display: none !important;
 
 
 
 
 
371
  }
 
17
  --neutral-400: #ced4da;
18
  }
19
 
20
+ /* μ „μ—­ 높이 μ œμ–΄ */
21
+ html, body {
22
+ overflow-y: auto !important;
23
+ max-height: 100vh !important;
24
+ }
25
+
26
  body {
27
  font-family: 'Inter', system-ui, sans-serif;
28
  background: var(--background);
 
30
  line-height: 1.5;
31
  }
32
 
33
+ /* ν”„λ‘¬ν”„νŠΈ μž…λ ₯μ°½ κ°•μ œ 높이 μ„€μ • */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  .ant-input-textarea-large textarea,
35
  .ant-input-textarea textarea,
36
  #component-0 textarea,
37
  textarea,
38
  .ant-input textarea,
39
+ div[class*="ant-input"] textarea,
40
+ [class*="textbox"] textarea {
41
  height: 300px !important;
42
  min-height: 300px !important;
43
  max-height: 300px !important;
44
  resize: none !important;
45
  overflow-y: auto !important;
46
+ display: block !important;
47
  border: 2px solid var(--neutral-200);
48
  border-radius: 12px;
49
  padding: 1rem;
50
  }
51
 
52
+ /* μƒŒλ“œλ°•μŠ€ 래퍼 μ„€μ • */
53
+ .sandbox-wrapper {
54
+ width: 100% !important;
55
+ height: 800px !important;
56
+ max-height: 800px !important;
57
+ overflow: hidden !important;
58
+ position: relative !important;
59
+ display: block !important;
60
+ }
61
+
62
  /* μƒŒλ“œλ°•μŠ€ μ»¨ν…Œμ΄λ„ˆ μ„€μ • */
63
  .sandbox-container {
64
+ width: 100% !important;
65
  height: 800px !important;
66
  max-height: 800px !important;
67
  overflow: hidden !important;
68
+ position: absolute !important;
69
+ top: 0 !important;
70
+ left: 0 !important;
71
+ right: 0 !important;
72
+ bottom: 0 !important;
73
  }
74
 
75
  /* iframe μ„€μ • */
76
+ iframe,
77
  .sandbox-container iframe,
78
+ .html_content iframe {
 
79
  width: 100% !important;
80
  height: 800px !important;
81
+ min-height: 800px !important;
82
  max-height: 800px !important;
83
  border: none !important;
84
+ display: block !important;
85
  position: absolute !important;
86
  top: 0 !important;
87
  left: 0 !important;
 
89
  bottom: 0 !important;
90
  }
91
 
 
 
 
 
 
 
 
 
 
 
92
  /* HTML 컨텐츠 μ˜μ—­ μ„€μ • */
93
  .html_content {
94
+ width: 100% !important;
95
  height: 800px !important;
96
+ min-height: 800px !important;
97
  max-height: 800px !important;
98
  overflow: hidden !important;
99
  position: relative !important;
100
+ display: block !important;
101
  border-radius: 12px;
102
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
103
  background: var(--surface);
104
  }
105
 
106
+ /* 우츑 νŒ¨λ„ μ„€μ • */
107
+ .right_panel {
108
+ height: 900px !important;
109
+ min-height: 900px !important;
110
+ max-height: 900px !important;
111
+ overflow: hidden !important;
112
+ position: relative !important;
113
+ padding-top: 50px;
114
+ }
115
+
116
+ /* 컨텐츠 μ˜μ—­ μ„€μ • */
117
  .right_content {
118
  height: 800px !important;
119
  min-height: 800px !important;
 
127
  border-radius: 0 0 8px 8px;
128
  }
129
 
130
+ /* λͺ¨λ“  μ»¨ν…Œμ΄λ„ˆ 높이 μ œν•œ */
 
 
 
 
 
 
 
 
 
131
  .gradio-container,
132
  .contain,
 
133
  .content-wrap,
134
+ .content,
135
+ [class*="container"],
136
+ [class*="content"] {
137
  max-height: 900px !important;
138
  overflow: hidden !important;
139
  }
140
 
 
 
 
 
 
 
 
 
 
 
141
  .left_header {
142
  display: flex;
143
  flex-direction: column;
 
339
  .html_content,
340
  iframe {
341
  height: 800px !important;
342
+ min-height: 800px !important;
343
  max-height: 800px !important;
344
  }
345
  }
346
 
347
  footer, .footer, div[class*="footer"], #footer {
348
  display: none !important;
349
+ }
350
+
351
+ /* 슀크둀 λ°©μ§€ */
352
+ .no-scroll {
353
+ overflow: hidden !important;
354
  }