seawolf2357 commited on
Commit
5976ead
ยท
verified ยท
1 Parent(s): 1fffc2c

Update app.css

Browse files
Files changed (1) hide show
  1. app.css +26 -29
app.css CHANGED
@@ -54,7 +54,7 @@ footer, .footer, div[class*="footer"], #footer {
54
  margin: 0 !important;
55
  }
56
 
57
- /* ์ƒˆ๋กœ์šด Textarea ์„ ํƒ์ž */
58
  #component-0 textarea,
59
  .gradio-container textarea,
60
  .ant-input-textarea-large textarea {
@@ -64,7 +64,6 @@ footer, .footer, div[class*="footer"], #footer {
64
  resize: vertical !important;
65
  }
66
 
67
- /* textarea์˜ ๋ถ€๋ชจ ์ปจํ…Œ์ด๋„ˆ๋„ ํ•จ๊ป˜ ์กฐ์ • */
68
  #component-0 .ant-input-textarea,
69
  .gradio-container .ant-input-textarea,
70
  .ant-input-textarea-large {
@@ -72,75 +71,73 @@ footer, .footer, div[class*="footer"], #footer {
72
  min-height: 300px !important;
73
  }
74
 
75
- /* Setting ๋ฒ„ํŠผ ๊ด€๋ จ ์Šคํƒ€์ผ ์ˆ˜์ • */
76
- .setting-buttons-row {
77
- padding: 10px;
78
- margin-bottom: 10px;
79
- background: transparent;
80
- position: relative;
81
  z-index: 1000;
 
 
82
  }
83
 
84
- /* Examples ์„น์…˜ ์Šคํƒ€์ผ ์ˆ˜์ • */
85
  .examples-section {
86
  margin-top: 24px;
87
  padding: 0 24px;
88
  width: 100%;
89
- display: flex;
90
- flex-direction: column;
91
  }
92
 
93
  .examples-section .ant-row {
94
  display: flex;
95
  flex-wrap: wrap;
96
- margin: 0 -8px;
97
  }
98
 
99
  .examples-section .ant-col {
100
- padding: 0 8px;
101
- margin-bottom: 16px;
102
- flex: 0 0 33.333333%;
103
- max-width: 33.333333%;
104
  }
105
 
106
  .examples-section .ant-card {
107
  height: 100%;
108
- margin-bottom: 0;
109
  }
110
 
111
  .examples-section .ant-card-meta {
112
  padding: 12px;
113
  }
114
 
115
- /* ์šฐ์ธก ํŒจ๋„ ์Šคํƒ€์ผ ์ˆ˜์ • */
116
  .right_panel {
117
  position: relative;
118
  min-height: 600px;
119
- border: 1px solid #e8e8e8;
120
- border-radius: 4px;
121
- overflow: hidden;
122
- margin-top: 60px; /* Setting ๋ฒ„ํŠผ์„ ์œ„ํ•œ ์—ฌ๋ฐฑ */
123
  }
124
 
125
  .html_content {
126
  height: 100%;
127
  }
128
 
129
- /* ๋ฐ˜์‘ํ˜• ๋ ˆ์ด์•„์›ƒ์„ ์œ„ํ•œ ๋ฏธ๋””์–ด ์ฟผ๋ฆฌ */
130
  @media (max-width: 768px) {
131
  .examples-section .ant-col {
132
- flex: 0 0 100%;
133
- max-width: 100%;
134
  }
135
  }
136
 
137
  @media (min-width: 769px) and (max-width: 1200px) {
138
  .examples-section .ant-col {
139
- flex: 0 0 50%;
140
- max-width: 50%;
 
 
 
 
 
141
  }
142
  }
143
 
144
- .main-content {
145
- margin-bottom: 24px;
 
146
  }
 
54
  margin: 0 !important;
55
  }
56
 
57
+ /* Textarea ์Šคํƒ€์ผ๋ง */
58
  #component-0 textarea,
59
  .gradio-container textarea,
60
  .ant-input-textarea-large textarea {
 
64
  resize: vertical !important;
65
  }
66
 
 
67
  #component-0 .ant-input-textarea,
68
  .gradio-container .ant-input-textarea,
69
  .ant-input-textarea-large {
 
71
  min-height: 300px !important;
72
  }
73
 
74
+ /* Setting ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
75
+ .setting-buttons {
76
+ position: absolute;
77
+ top: 10px;
78
+ right: 10px;
 
79
  z-index: 1000;
80
+ display: flex;
81
+ gap: 8px;
82
  }
83
 
84
+ /* Examples ์„น์…˜ ์Šคํƒ€์ผ๋ง */
85
  .examples-section {
86
  margin-top: 24px;
87
  padding: 0 24px;
88
  width: 100%;
 
 
89
  }
90
 
91
  .examples-section .ant-row {
92
  display: flex;
93
  flex-wrap: wrap;
94
+ margin: -8px;
95
  }
96
 
97
  .examples-section .ant-col {
98
+ padding: 8px;
 
 
 
99
  }
100
 
101
  .examples-section .ant-card {
102
  height: 100%;
103
+ cursor: pointer;
104
  }
105
 
106
  .examples-section .ant-card-meta {
107
  padding: 12px;
108
  }
109
 
110
+ /* ์šฐ์ธก ํŒจ๋„ ์Šคํƒ€์ผ๋ง */
111
  .right_panel {
112
  position: relative;
113
  min-height: 600px;
114
+ margin-top: 10px;
 
 
 
115
  }
116
 
117
  .html_content {
118
  height: 100%;
119
  }
120
 
121
+ /* ๋ฐ˜์‘ํ˜• ๋ ˆ์ด์•„์›ƒ */
122
  @media (max-width: 768px) {
123
  .examples-section .ant-col {
124
+ width: 100%;
 
125
  }
126
  }
127
 
128
  @media (min-width: 769px) and (max-width: 1200px) {
129
  .examples-section .ant-col {
130
+ width: 50%;
131
+ }
132
+ }
133
+
134
+ @media (min-width: 1201px) {
135
+ .examples-section .ant-col {
136
+ width: 33.333333%;
137
  }
138
  }
139
 
140
+ /* ์ „์ฒด ๋ ˆ์ด์•„์›ƒ ์กฐ์ • */
141
+ .ant-row {
142
+ margin: 0 !important;
143
  }