diff --git a/CHANGELOG.md b/CHANGELOG.md index d84623a44c..a37e3cf76c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Apply test ids to production builds for usage in e2e tests ([#1499](https://github.com/scm-manager/scm-manager/pull/1499)) - Bump google guava version to 30.1-jre - Refactor table component so that it can be styled by styled-components ([#1503](https://github.com/scm-manager/scm-manager/pull/1503)) +- Enrich styleguide with new features, rules and changes ([#1506](https://github.com/scm-manager/scm-manager/pull/1506)) ### Fixed - Add explicit provider setup for bouncy castle ([#1500](https://github.com/scm-manager/scm-manager/pull/1500)) diff --git a/scm-ui/ui-components/src/BranchSelector.stories.tsx b/scm-ui/ui-components/src/BranchSelector.stories.tsx index 8f59b379f0..9e27554df2 100644 --- a/scm-ui/ui-components/src/BranchSelector.stories.tsx +++ b/scm-ui/ui-components/src/BranchSelector.stories.tsx @@ -42,4 +42,4 @@ const Wrapper = styled.div` storiesOf("BranchSelector", module) .addDecorator(storyFn => {storyFn()}) - .add("Default", () => ); + .add("Default", () => ); diff --git a/scm-ui/ui-components/src/Breadcrumb.tsx b/scm-ui/ui-components/src/Breadcrumb.tsx index e343ebaf32..12f99f1539 100644 --- a/scm-ui/ui-components/src/Breadcrumb.tsx +++ b/scm-ui/ui-components/src/Breadcrumb.tsx @@ -45,7 +45,6 @@ type Props = { }; const PermaLinkWrapper = styled.div` - margin: 1.2rem 0 0 1.5rem; width: 16px; height: 16px; font-size: 13px; @@ -132,7 +131,7 @@ const Breadcrumb: FC = ({ repository, branch, defaultBranch, revision, pa return ( <> -
+
{copying ? ( diff --git a/scm-ui/ui-components/src/CardColumnSmall.tsx b/scm-ui/ui-components/src/CardColumnSmall.tsx index 4e1acbbc72..2aaea5d834 100644 --- a/scm-ui/ui-components/src/CardColumnSmall.tsx +++ b/scm-ui/ui-components/src/CardColumnSmall.tsx @@ -51,10 +51,6 @@ const ContentRight = styled.div` align-items: start; `; -const CenteredItems = styled.div` - align-items: center; -`; - const StyledLink = styled(Link)` color: inherit; :hover { @@ -75,10 +71,10 @@ const CardColumnSmall: FC = ({ link, avatar, contentLeft, contentRight, f
{renderAvatar} - +
{contentLeft} {contentRight} - +
{renderFooter}
diff --git a/scm-ui/ui-components/src/DateElement.ts b/scm-ui/ui-components/src/DateElement.ts index 5c4dd25afa..62ef33e783 100644 --- a/scm-ui/ui-components/src/DateElement.ts +++ b/scm-ui/ui-components/src/DateElement.ts @@ -24,7 +24,7 @@ import styled from "styled-components"; const DateElement = styled.time` - border-bottom: 1px dotted rgba(219, 219, 219); + border-bottom: 1px dotted rgb(219, 219, 219); cursor: help; `; diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index 88a9c3e5c6..b812b332ec 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -80,7 +80,7 @@ exports[`Storyshots Annotate Default 1`] = ` className="AnnotateLine__LineElement-h9c4md-0 AnnotateLine__When-h9c4md-2 cLNtyY bRzlfo" >