From 3c7c66a07e86453e36d680f36a4a20ac69793fc5 Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Wed, 16 Oct 2019 10:02:25 +0200 Subject: [PATCH] fix DiffFile-Tag margin-left --- scm-ui/ui-components/src/repos/DiffFile.js | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/scm-ui/ui-components/src/repos/DiffFile.js b/scm-ui/ui-components/src/repos/DiffFile.js index deec89ad37..57765955fd 100644 --- a/scm-ui/ui-components/src/repos/DiffFile.js +++ b/scm-ui/ui-components/src/repos/DiffFile.js @@ -1,17 +1,10 @@ //@flow import React from "react"; -import { translate } from "react-i18next"; +import {translate} from "react-i18next"; import classNames from "classnames"; import styled from "styled-components"; -import { - Change, - Diff as DiffComponent, - DiffObjectProps, - File, - getChangeKey, - Hunk -} from "react-diff-view"; -import { Button, ButtonGroup } from "../buttons"; +import {Change, Diff as DiffComponent, DiffObjectProps, File, getChangeKey, Hunk} from "react-diff-view"; +import {Button, ButtonGroup} from "../buttons"; import Tag from "../Tag"; import Icon from "../Icon"; @@ -57,7 +50,7 @@ const HunkDivider = styled.hr` `; const ChangeTypeTag = styled(Tag)` - marginleft: ".75rem"; + margin-left: .75rem; `; const ModifiedDiffComponent = styled(DiffComponent)`