Skip to content

Commit a735ba1

Browse files
committed
[#95] polish card copy icons styles
1 parent 151996d commit a735ba1

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/shared/ui/preview-card/preview-card-header.vue

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -211,27 +211,20 @@ $eventTypeColorsMap: (
211211
}
212212
213213
.preview-card-header__buttons-expand {
214-
@apply relative left-[2px] flex overflow-hidden border-x-2 rounded-3xl border-transparent dark:border-transparent cursor-pointer;
214+
@apply relative left-[2px] flex border-x-2 rounded-3xl border-transparent dark:border-transparent cursor-pointer;
215215
216216
&:hover {
217-
@apply overflow-visible bg-gray-200 dark:bg-gray-700 ring-1 ring-gray-200 dark:ring-gray-700 border-gray-200 dark:border-gray-700;
217+
@apply bg-gray-200 dark:bg-gray-700 ring-1 ring-gray-200 dark:ring-gray-700 border-gray-200 dark:border-gray-700;
218218
}
219219
}
220220
221-
.preview-card-header__buttons-expand-main {
222-
@apply space-x-2;
223-
}
224-
225221
.preview-card-header__buttons-expand-list {
226-
@apply flex flex-row justify-end space-x-2 pr-2;
222+
@apply flex flex-row justify-end space-x-2 pr-2 transition-all;
223+
@apply hidden overflow-hidden opacity-0;
227224
order: -1;
228-
width: 0;
229-
opacity: 0;
230-
transition: grid-template-columns, grid-template-rows 0.3s ease-in-out;
231225
232226
.preview-card-header__buttons-expand:hover & {
233-
opacity: 1;
234-
width: auto;
227+
@apply flex overflow-visible opacity-100;
235228
}
236229
}
237230

0 commit comments

Comments
 (0)