@@ -128,7 +128,7 @@ const SelectDescriptionComponent = () => {
128
128
tabindex = "-1"
129
129
aria-labelledby = "exampleFrameBottomModalLabel"
130
130
aria-hidden = "true" >
131
- < div data-te-modal-dialog-ref className = "h-2/3 pointer-events-none absolute bottom-0 w-full translate-y-[50px] opacity-0 transition-all duration-300 ease-in-out" >
131
+ < div data-te-modal-dialog-ref className = "h-[70%] pointer-events-none absolute bottom-0 w-full translate-y-[50px] opacity-0 transition-all duration-300 ease-in-out" >
132
132
< div className = "rounded-t-2xl pointer-events-auto relative flex w-full h-full flex-col border-none bg-gray-50 bg-clip-padding shadow-lg outline-none" >
133
133
< div className = "relative h-full p-5" data-te-modal-body-ref >
134
134
@@ -140,30 +140,46 @@ const SelectDescriptionComponent = () => {
140
140
< path strokeLinecap = "round" strokeLinejoin = "round" d = "M6 18L18 6M6 6l12 12" />
141
141
</ svg >
142
142
</ div >
143
-
143
+
144
144
{ /** 사진, 작물명, 병해충명, 학명 */ }
145
145
< div className = "flex mb-4 bg-white w-full h-50 rounded-xl mt-4 p-2 drop-shadow-md " >
146
146
< div className = "h-36 w-36" >
147
147
< img src = { modalImage } className = "w-36 h-36 rounded-xl" />
148
148
</ div >
149
149
150
150
< div className = "flex flex-col justify-evenly ml-5" >
151
- < div > 작물명 : { selectPlant } </ div >
152
- < div > 병해충명 : { diseaseName } </ div >
153
- < div > 학명: { scientifiName } </ div >
151
+ < div class = "flex items-center text-lg" >
152
+ < div class = "w-3 h-3 bg-green-500 rounded-full mr-2" > </ div >
153
+ < strong > { selectPlant } </ strong >
154
+ </ div >
155
+ < div class = "flex items-center" >
156
+ < div class = "w-3 h-3 bg-yellow-500 rounded-full mr-2" > </ div >
157
+ < strong > 병해충명: { diseaseName } </ strong >
158
+ </ div >
159
+ < div class = "flex items-center" >
160
+ < div class = "w-3 h-3 bg-red-500 rounded-full mr-2" > </ div >
161
+ < strong > 학명: { scientifiName } </ strong >
162
+ </ div >
163
+
154
164
</ div >
155
165
</ div >
156
166
157
167
{ /** 내용 */ }
158
168
< div className = "flex flex-col justify-center h-fit bg-white w-full rounded-xl mt-4 p-2 drop-shadow-md " >
159
- < div className = "mb-4" >
160
- < div className = "text-3xl font-bold mb-2" > 피해</ div >
169
+ < div className = "mb-3" >
170
+ < div className = "w-full flex mb-1" >
171
+ < div className = "w-1.5 bg-green-600 mr-2" > </ div >
172
+ < div className = "text-xl font-bold" > 피해</ div >
173
+ </ div >
161
174
< p > { damage } </ p >
162
175
163
176
</ div >
164
177
165
178
< div >
166
- < div className = "text-3xl font-bold mb-2" > 방제</ div >
179
+ < div className = "w-full flex mb-1" >
180
+ < div className = "w-1.5 bg-green-600 mr-2" > </ div >
181
+ < div className = "text-xl font-bold" > 방제</ div >
182
+ </ div >
167
183
< p > { treat } </ p >
168
184
</ div >
169
185
</ div >
@@ -174,7 +190,7 @@ const SelectDescriptionComponent = () => {
174
190
< button
175
191
type = "button"
176
192
className = "ml-2 inline-block rounded bg-[#10b981] px-7 pb-1.5 pt-2 text-xs font-medium uppercase leading-normal text-white shadow-[0_4px_9px_-4px_#3b71ca] transition duration-150 ease-in-out hover:bg-[#10b981] hover:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.3),0_4px_18px_0_rgba(59,113,202,0.2)] focus:bg-[#10b981] focus:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.3),0_4px_18px_0_rgba(59,113,202,0.2)] focus:outline-none focus:ring-0 active:bg-[#10b981] active:shadow-[0_8px_9px_-4px_rgba(59,113,202,0.3),0_4px_18px_0_rgba(59,113,202,0.2)]" >
177
- < span className = "fs-4" > 더보기</ span >
193
+ < span className = "fs-4" > 더보기</ span >
178
194
</ button >
179
195
</ a >
180
196
</ div >
0 commit comments