mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-10 04:09:08 -06:00
Improve mobile sizing for Header, add screen-reader directives
This commit is contained in:
@@ -90,8 +90,9 @@ const text = propText ?? "undefined behaviors";
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<header class:list={["text-5xl text-center lowercase", className]}>
|
||||
<div class="stack" style="--stacks: 3;">
|
||||
<header class:list={["text-3xl md:text-4xl lg:text-5xl text-center lowercase", className]}>
|
||||
<span class="sr-only">{text}</span>
|
||||
<div class="stack" style="--stacks: 3;" aria-hidden="true">
|
||||
<span style="--index: 0;">{text}</span>
|
||||
<span style="--index: 1;">{text}</span>
|
||||
<span style="--index: 2;">{text}</span>
|
||||
|
||||
Reference in New Issue
Block a user