Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(public-docsite-v9): embed fluentui-contrib docsite #33108

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions apps/public-docsite-v9/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ module.exports = /** @type {Omit<import('../../../.storybook/main'), 'typescript

return localConfig;
},
refs: {
Hotell marked this conversation as resolved.
Show resolved Hide resolved
contrib: {
title: 'Contributors Packages',
url: 'https://microsoft.github.io/fluentui-contrib/docsite/',
expanded: false,
sourceUrl: 'https://github.com/microsoft/fluentui-contrib',
},
},
});
13 changes: 11 additions & 2 deletions apps/public-docsite-v9/.storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,13 @@
color: #ffffff !important;
}

.sidebar-subheading {
/**
The `button[data-action='collapse-ref']` selector is used to ensure
that the "Storybook Composition" (https://storybook.js.org/docs/sharing/storybook-composition) menu items
align with the styling of the other sidebar menu items.
*/
.sidebar-subheading,
button[data-action='collapse-ref'] {
dmytrokirpa marked this conversation as resolved.
Show resolved Hide resolved
font-weight: 600 !important;
font-size: 16px !important;
letter-spacing: 0px !important;
Expand All @@ -117,7 +123,9 @@
color: #11100f !important;
}

.sidebar-subheading button {
.sidebar-subheading button,
button[data-action='collapse-ref'] {
display: flex !important;
align-items: center !important;
}

Expand All @@ -139,6 +147,7 @@
}

.sidebar-item > span:first-child,
button[data-action='collapse-ref'] > span:first-child,
.sidebar-item > svg {
margin-top: 0 !important;
}
Expand Down
Loading