Skip to content

Commit c75f259

Browse files
fix(card): Fix Card | JIRA: PT-136 (#70)
* fix(card): Fix Card | JIRA: PT-136
1 parent c850aa5 commit c75f259

File tree

7 files changed

+460
-435
lines changed

7 files changed

+460
-435
lines changed

src/assets/css/el-button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body {
1313
@apply h-[51px] rounded-md font-semibold text-sm tracking-wide px-[11px] #{!important};
1414
}
1515
.el-button.el-button--small {
16-
@apply rounded max-w-fit text-xs font-semibold tracking-wide p-0.5 py-3.25 #{!important};
16+
@apply rounded text-xs font-semibold tracking-wide p-0.5 py-3.25 #{!important};
1717
}
1818
.el-button.el-button--default.el-button--small {
1919
@apply rounded max-w-fit h-[25px] #{!important};

src/components/Navigation/index.vue

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,16 @@ export default defineComponent({
413413
@apply m-0;
414414
}
415415
.el-dropdown-menu__item:first-child {
416-
@apply m-0 hover:bg-white rounded-lg;
416+
@apply m-0 bg-white rounded-lg;
417+
&:hover {
418+
@apply bg-white #{!important};
419+
}
417420
}
418421
.el-dropdown-menu__item {
419-
@apply m-0 hover:bg-slate-50;
422+
@apply m-0;
423+
&:hover {
424+
@apply bg-secondary #{!important};
425+
}
420426
}
421427
}
422428
.profile-popper {
@@ -426,12 +432,18 @@ export default defineComponent({
426432
}
427433
.el-dropdown-menu {
428434
@apply py-2 #{!important};
429-
}
430-
.el-dropdown-menu__item:first-child {
431-
@apply m-0 hover:bg-white rounded-lg;
432-
}
433-
.el-dropdown-menu__item {
434-
@apply m-0 hover:bg-slate-50;
435+
.el-dropdown-menu__item:first-child {
436+
@apply m-0 rounded-lg;
437+
&:hover {
438+
@apply bg-white #{!important};
439+
}
440+
}
441+
.el-dropdown-menu__item {
442+
@apply m-0;
443+
&:hover {
444+
@apply bg-secondary #{!important};
445+
}
446+
}
435447
}
436448
}
437449
</style>

src/layouts/default-layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</div>
6565

6666
<router-view v-slot="{ Component }">
67-
<div class="px-4 sm:px-7.5 lg:px-[28.5px]">
67+
<div class="px-4 md:px-7.5 lg:px-[28.5px]">
6868
<component :is="Component" class="py-1.25 lg:px-1.5 lg:pl-[6px]" />
6969
</div>
7070
</router-view>

src/modules/buttons/views/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<template #header>
5858
<h3 class="cursor-auto mb-0 text-card-title">Outline</h3>
5959
</template>
60-
<div class="flex flex-wrap gap-3">
60+
<div class="flex flex-wrap gap-3.25">
6161
<div>
6262
<el-button plain class="">Default</el-button>
6363
</div>

0 commit comments

Comments
 (0)