fix DiffFile-Tag margin-left

This commit is contained in:
Eduard Heimbuch
2019-10-16 10:02:25 +02:00
parent 37c8a1119f
commit 3c7c66a07e

View File

@@ -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)`