Skip to content

Commit 4a2bac2

Browse files
committed
docs: improve responsive design
1 parent 06d3876 commit 4a2bac2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/docs/src/components/Header.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ const Header = forwardRef<HTMLDivElement>(({}, ref) => {
8080
apiKey="6e3f7692d2589d042bb40426b75df1b7"
8181
/>
8282
</div>
83-
<CHeaderNav className="ms-2 d-none d-sm-flex" role={undefined}>
83+
<CHeaderNav className="ms-2" role={undefined}>
8484
<CNavItem
85+
className="d-none d-sm-block"
8586
href="https://github.com/coreui/coreui-react/"
8687
aria-label="Visit our GitHub"
8788
target="_blank"
@@ -90,8 +91,9 @@ const Header = forwardRef<HTMLDivElement>(({}, ref) => {
9091
<CIcon icon={cibGithub} size="xl" />
9192
</CNavItem>
9293
<CNavItem
94+
className="d-none d-sm-block"
9395
href="https://x.com/core_ui"
94-
aria-label="Visit our Twitter"
96+
aria-label="Visit our X (Twitter)"
9597
target="_blank"
9698
rel="noopener"
9799
>
@@ -102,6 +104,7 @@ const Header = forwardRef<HTMLDivElement>(({}, ref) => {
102104
</CIconSvg>
103105
</CNavItem>
104106
<CNavItem
107+
className="d-none d-sm-block"
105108
href="https://discord.gg/pQRWe5XdGm"
106109
aria-label="Visit our Discord"
107110
target="_blank"

0 commit comments

Comments
 (0)