Skip to content

Commit de7c00a

Browse files
committed
💄style: refine
1 parent 468e91c commit de7c00a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎packages/ui/src/styles.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -157,19 +157,19 @@ div[data-rehype-pretty-code-title] {
157157
}
158158

159159
.rlc-container {
160-
@apply w-full h-32 my-8 text-basic !no-underline after:!content-[''] flex items-start border-neutral-200 box-border rounded-md border-[1px] border-solid transition-all duration-200 ease-in-out;
160+
@apply w-full h-28 my-8 text-basic !no-underline after:!content-[''] flex items-start border-neutral-200 box-border rounded-md border-[1px] border-solid transition-all duration-200 ease-in-out;
161161
}
162162

163163
.rlc-container:hover{
164164
@apply shadow-lg bg-neutral-50 scale-105;
165165
}
166166

167167
.rlc-info {
168-
@apply h-full w-4/6 px-3 py-4 flex flex-col shrink justify-between overflow-hidden text-left;
168+
@apply h-full w-4/6 pl-5 pr-3 py-4 flex flex-col shrink justify-between overflow-hidden text-left;
169169
}
170170

171171
.rlc-title {
172-
@apply text-xl text-basic whitespace-nowrap overflow-hidden text-ellipsis no-underline ;
172+
@apply text-lg font-semibold text-basic whitespace-nowrap overflow-hidden text-ellipsis no-underline ;
173173
}
174174

175175
.rlc-description {
@@ -185,15 +185,15 @@ div[data-rehype-pretty-code-title] {
185185
}
186186

187187
.rlc-url {
188-
@apply text-basic text-sm whitespace-nowrap overflow-hidden text-ellipsis;
188+
@apply text-basic text-xs whitespace-nowrap overflow-hidden text-ellipsis;
189189
}
190190

191191
.rlc-image-container {
192192
@apply w-2/6 h-full overflow-y-hidden flex-1 basis-[100px];
193193
}
194194

195195
.rlc-image {
196-
@apply object-cover w-full h-full rounded-br rounded-tr;
196+
@apply object-scale-down w-full h-full rounded-br rounded-tr;
197197
}
198198

199199
.warning {

0 commit comments

Comments
 (0)