mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
fix DiffFile-Tag margin-left
This commit is contained in:
@@ -1,17 +1,10 @@
|
|||||||
//@flow
|
//@flow
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { translate } from "react-i18next";
|
import {translate} from "react-i18next";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import {
|
import {Change, Diff as DiffComponent, DiffObjectProps, File, getChangeKey, Hunk} from "react-diff-view";
|
||||||
Change,
|
import {Button, ButtonGroup} from "../buttons";
|
||||||
Diff as DiffComponent,
|
|
||||||
DiffObjectProps,
|
|
||||||
File,
|
|
||||||
getChangeKey,
|
|
||||||
Hunk
|
|
||||||
} from "react-diff-view";
|
|
||||||
import { Button, ButtonGroup } from "../buttons";
|
|
||||||
import Tag from "../Tag";
|
import Tag from "../Tag";
|
||||||
import Icon from "../Icon";
|
import Icon from "../Icon";
|
||||||
|
|
||||||
@@ -57,7 +50,7 @@ const HunkDivider = styled.hr`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const ChangeTypeTag = styled(Tag)`
|
const ChangeTypeTag = styled(Tag)`
|
||||||
marginleft: ".75rem";
|
margin-left: .75rem;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const ModifiedDiffComponent = styled(DiffComponent)`
|
const ModifiedDiffComponent = styled(DiffComponent)`
|
||||||
|
|||||||
Reference in New Issue
Block a user