File size: 2,691 Bytes
f250e05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.left_header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.render_header {
  height: 30px;
  width: 100%;
  padding: 5px 16px;
  background-color: #f5f5f5;
}

.header_btn {
  display: inline-block;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  margin-right: 4px;
}

.render_header > .header_btn:nth-child(1) {
  background-color: #f5222d;
}

.render_header > .header_btn:nth-child(2) {
  background-color: #faad14;
}

.render_header > .header_btn:nth-child(3) {
  background-color: #52c41a;
}

.right_content {
  height: 920px; 
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.history_chatbot button {
  background: none;
  border: none;
}

/* Footer ์ˆจ๊ธฐ๊ธฐ */
footer, .footer, div[class*="footer"], #footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ์ƒˆ๋กœ์šด Textarea ์„ ํƒ์ž */
#component-0 textarea,
.gradio-container textarea,
.ant-input-textarea-large textarea {
    height: 300px !important;
    min-height: 300px !important;
    max-height: none !important;
    resize: vertical !important;
}

/* textarea์˜ ๋ถ€๋ชจ ์ปจํ…Œ์ด๋„ˆ๋„ ํ•จ๊ป˜ ์กฐ์ • */
#component-0 .ant-input-textarea,
.gradio-container .ant-input-textarea,
.ant-input-textarea-large {
    height: auto !important;
    min-height: 300px !important;
}

/* Setting ๋ฒ„ํŠผ ์ปจํ…Œ์ด๋„ˆ */
.setting-buttons-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    padding: 10px;
}

/* Examples ์„น์…˜ */
.examples-container {
    margin-top: 24px;
    padding: 0 24px;
    width: 100%;
}

.right_panel {
    position: relative;
    min-height: 600px;
}

.html_content {
    height: 100%;
}

/* ๋ฐ˜์‘ํ˜• ๊ทธ๋ฆฌ๋“œ๋ฅผ ์œ„ํ•œ ๋ฏธ๋””์–ด ์ฟผ๋ฆฌ */
@media (max-width: 768px) {
    .examples-container .ant-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .examples-container .ant-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1201px) {
    .examples-container .ant-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Examples ์นด๋“œ ์Šคํƒ€์ผ๋ง */
.examples-container .ant-card {
    margin-bottom: 16px;
    height: 100%;
}

.examples-container .ant-card-meta {
    padding: 12px;
}

/* Setting ๋ฒ„ํŠผ ์Šคํƒ€์ผ๋ง */
.setting-buttons-container .ant-btn {
    margin-left: 8px;
}

/* ์ „์ฒด ๋ ˆ์ด์•„์›ƒ ์กฐ์ • */
.ant-row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.main-content {
    margin-bottom: 24px;
}