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 */
|
||||
"& > .diff-gutter:empty:hover::after": {
|
||||
fontSize: "0.7rem"
|
||||
},
|
||||
"& .diff-line": {
|
||||
fontSize: "0.75rem"
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -57,6 +60,7 @@ const styles = {
|
||||
type Props = DiffObjectProps & {
|
||||
file: File,
|
||||
collapsible: true,
|
||||
|
||||
// context props
|
||||
classes: any,
|
||||
t: string => string
|
||||
@@ -230,7 +234,7 @@ class DiffFile extends React.Component<Props, State> {
|
||||
: null;
|
||||
icon = "fa fa-angle-down";
|
||||
body = (
|
||||
<div className="panel-block is-paddingless is-size-7">
|
||||
<div className="panel-block is-paddingless">
|
||||
{fileAnnotations}
|
||||
<DiffComponent className={classes.diff} viewType={viewType}>
|
||||
{file.hunks.map(this.renderHunk)}
|
||||
|
||||
Reference in New Issue
Block a user