Correct typo in nested styled-components in ui-components

This commit is contained in:
Florian Scholdei
2019-10-09 13:37:40 +02:00
parent d7e62fadb0
commit 72868712ad
3 changed files with 12 additions and 12 deletions

View File

@@ -64,23 +64,23 @@ const ChangeTypeTag = styled(Tag)`
const ModifiedDiffComponent = styled(DiffComponent)`
/* column sizing */
> colgroup .diff-gutter-col: {
> colgroup .diff-gutter-col {
width: 3.25rem;
}
/* prevent following content from moving down */
> .diff-gutter:empty:hover::after: {
> .diff-gutter:empty:hover::after {
font-size: 0.7rem;
}
/* smaller font size for code */
& .diff-line: {
& .diff-line {
font-size: 0.75rem;
}
/* comment padding for sidebyside view */
&.split .diff-widget-content .is-indented-line: {
&.split .diff-widget-content .is-indented-line {
padding-left: 3.25rem;
}
/* comment padding for combined view */
&.unified .diff-widget-content .is-indented-line: {
&.unified .diff-widget-content .is-indented-line {
padding-left: 6.5rem;
}
`;