mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
fix(site): fix legacy banner layout on narrow viewports (#856)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
bfea1e7fd2
commit
1efa1bc929
@@ -6,16 +6,16 @@ import { BANNER_DISMISS_KEY } from '@/consts';
|
||||
data-legacy-banner
|
||||
class:list={[
|
||||
"banner-dismissed:hidden",
|
||||
"flex items-center justify-center gap-2 px-5 py-2 text-p3 md:text-p2",
|
||||
"relative py-2 text-p3 md:text-p2",
|
||||
"border-b border-manila-75 bg-manila-50 text-faded-black",
|
||||
"dark:border-soot dark:bg-warm-gray dark:text-manila-light",
|
||||
]}
|
||||
>
|
||||
<p>
|
||||
<p class="px-12 text-center">
|
||||
Using Video.js v8 or earlier?{" "}
|
||||
<a
|
||||
href="https://legacy.videojs.org"
|
||||
class="font-bold underline intent:no-underline"
|
||||
class="font-bold whitespace-nowrap underline intent:no-underline"
|
||||
>
|
||||
Visit legacy.videojs.org
|
||||
</a>
|
||||
@@ -25,6 +25,7 @@ import { BANNER_DISMISS_KEY } from '@/consts';
|
||||
data-legacy-banner-dismiss
|
||||
aria-label="Dismiss banner"
|
||||
class:list={[
|
||||
"absolute top-1/2 right-2 -translate-y-1/2",
|
||||
"shrink-0 cursor-pointer rounded p-2 intent:bg-manila-light dark:intent:bg-faded-black",
|
||||
]}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user