misaligned height and logged number size fix
This commit is contained in:
parent
14d01ae01c
commit
b8f858ae70
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class Console extends React.Component {
|
||||||
BASE_FONT_SIZE: this.props.fontSize,
|
BASE_FONT_SIZE: this.props.fontSize,
|
||||||
ARROW_FONT_SIZE: this.props.fontSize,
|
ARROW_FONT_SIZE: this.props.fontSize,
|
||||||
LOG_ICON_WIDTH: this.props.fontSize,
|
LOG_ICON_WIDTH: this.props.fontSize,
|
||||||
LOG_ICON_HEIGHT: 1.8*this.props.fontSize,
|
LOG_ICON_HEIGHT: 1.8 * this.props.fontSize,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (times > 1) {
|
if (times > 1) {
|
||||||
|
@ -115,7 +115,7 @@ class Console extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div key={consoleEvent.id} className={`preview-console__message preview-console__message--${method}`}>
|
<div key={consoleEvent.id} className={`preview-console__message preview-console__message--${method}`}>
|
||||||
{ times > 1 &&
|
{ times > 1 &&
|
||||||
<div className="preview-console__logged-times" style={{fontSize:this.props.fontSize}}>{times}</div>
|
<div className="preview-console__logged-times" style={{ fontSize: this.props.fontSize }}>{times}</div>
|
||||||
}
|
}
|
||||||
<ConsoleFeed
|
<ConsoleFeed
|
||||||
styles={this.getConsoleFeedStyle(theme, times)}
|
styles={this.getConsoleFeedStyle(theme, times)}
|
||||||
|
|
Loading…
Reference in a new issue