mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-12 01:59:34 -05:00
fix(frontend): use semantic class instead of targeting Tailwind utility
Replace .tw\:flex CSS selector with a .notification-actions class in Notification.vue, as suggested in review.
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
<div
|
||||
v-if="item.data?.actions?.length > 0"
|
||||
class="tw:flex tw:justify-end tw:gap-2"
|
||||
class="notification-actions tw:flex tw:justify-end tw:gap-2"
|
||||
>
|
||||
<XButton
|
||||
v-for="(action, i) in item.data.actions"
|
||||
@@ -64,7 +64,7 @@
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.tw\:flex {
|
||||
.notification-actions {
|
||||
margin-block-start: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user