Skip to content

Commit

Permalink
fix: styles and demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Sep 29, 2023
1 parent 2cacc8c commit 9cd4594
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/before-surge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rm -rf .static
mkdir .static
mkdir .static/cmf
mkdir .static/containers
mkdir .static/design-docs
mkdir .static/design-system
mkdir .static/faceted-search
mkdir .static/theme
mkdir .static/storybook-one
Expand Down
2 changes: 1 addition & 1 deletion .surge/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="/theme/dist/bootstrap.css" />
<link rel="stylesheet" href="/theme/bootstrap.css" />
<style>
.layout {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
font: tokens.$coral-paragraph-s-bold;
background-color: white;
color: hsl(0, 0%, 13%) !important;
width: 100px;

&,
&:hover,
Expand Down
8 changes: 4 additions & 4 deletions packages/storybook-docs/src/components/Statuses/Statuses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ function getIcon(statusType: StatusType) {
export function ComponentStatuses(statuses: Statuses) {
return (
<Unstyled>
<StackHorizontal gap="XS" as="ul" role="list" align="start">
<ul style={{ listStyleType: 'none', width: 400 }}>
{Object.entries(statuses).map(([statusType, { status, link }]) => (
<StackItem as="li" key={statusType}>
<li key={statusType} style={{ display: 'inline', marginRight: 4 }}>
<Status
{...{
status,
Expand All @@ -28,9 +28,9 @@ export function ComponentStatuses(statuses: Statuses) {
label: statusType,
}}
/>
</StackItem>
</li>
))}
</StackHorizontal>
</ul>
</Unstyled>
);
}

0 comments on commit 9cd4594

Please sign in to comment.