mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
move color definition on layer down to prevent modal font from changing
This commit is contained in:
@@ -50,6 +50,9 @@ const styles = {
|
|||||||
/* prevent following content from moving down */
|
/* prevent following content from moving down */
|
||||||
"& > .diff-gutter:empty:hover::after": {
|
"& > .diff-gutter:empty:hover::after": {
|
||||||
fontSize: "0.7rem"
|
fontSize: "0.7rem"
|
||||||
|
},
|
||||||
|
"& .diff-line": {
|
||||||
|
fontSize: "0.75rem"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -57,6 +60,7 @@ const styles = {
|
|||||||
type Props = DiffObjectProps & {
|
type Props = DiffObjectProps & {
|
||||||
file: File,
|
file: File,
|
||||||
collapsible: true,
|
collapsible: true,
|
||||||
|
|
||||||
// context props
|
// context props
|
||||||
classes: any,
|
classes: any,
|
||||||
t: string => string
|
t: string => string
|
||||||
@@ -230,7 +234,7 @@ class DiffFile extends React.Component<Props, State> {
|
|||||||
: null;
|
: null;
|
||||||
icon = "fa fa-angle-down";
|
icon = "fa fa-angle-down";
|
||||||
body = (
|
body = (
|
||||||
<div className="panel-block is-paddingless is-size-7">
|
<div className="panel-block is-paddingless">
|
||||||
{fileAnnotations}
|
{fileAnnotations}
|
||||||
<DiffComponent className={classes.diff} viewType={viewType}>
|
<DiffComponent className={classes.diff} viewType={viewType}>
|
||||||
{file.hunks.map(this.renderHunk)}
|
{file.hunks.map(this.renderHunk)}
|
||||||
|
|||||||
Reference in New Issue
Block a user