Skip to content

Commit a105775

Browse files
committed
fix: inconsistent meta badge heights in video info panel
1 parent 2fec05d commit a105775

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/js/components/video/VideoInfoPanel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ onMounted(() => {
164164

165165
<ul class="flex max-h-5 w-full flex-wrap gap-1 gap-y-4 overflow-clip [overflow-clip-margin:4px] *:*:shadow-sm **:flex **:items-center **:text-xs sm:hidden">
166166
<li>
167-
<BadgeTag :class="'meta-badge max-h-[22px]! gap-0.5'">
167+
<BadgeTag :class="'meta-badge gap-0.5'">
168168
{{ views }}
169169
<HoverCard :content="`You have viewed this ${personalViewCount} time${personalViewCount == 1 ? '' : 's'}`">
170170
<template #trigger>
@@ -380,6 +380,6 @@ onMounted(() => {
380380
<style lang="css" scoped>
381381
@reference "../../../css/app.css";
382382
.meta-badge {
383-
@apply bg-neutral-800 opacity-70 transition-opacity hover:text-white hover:opacity-100 dark:bg-neutral-900 dark:hover:bg-neutral-600/90;
383+
@apply h-[22px] bg-neutral-800 opacity-70 transition-opacity hover:text-white hover:opacity-100 dark:bg-neutral-900 dark:hover:bg-neutral-600/90;
384384
}
385385
</style>

0 commit comments

Comments
 (0)