1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[CL-768] Fix small a11y errors in storybook stories (#15826)

This commit is contained in:
Vicki League
2025-07-29 14:29:37 -04:00
committed by GitHub
parent 9c1bc57418
commit 6a2d8ee294
8 changed files with 73 additions and 34 deletions

View File

@@ -557,7 +557,10 @@ export const CenteredContent: Story = {
<popup-tab-navigation>
<popup-page>
<popup-header slot="header" pageTitle="Centered Content"></popup-header>
<div class="tw-h-full tw-flex tw-items-center tw-justify-center tw-text-main">
<div
class="tw-h-full tw-flex tw-items-center tw-justify-center tw-text-main tw-flex-col"
>
<h2 bitTypography="h2" class="tw-mb-6">Page with no content</h2>
<bit-no-items>
<ng-container slot="title">Before centering a div</ng-container>
<ng-container slot="description">One must first center oneself</ng-container>