Skip to content
Snippets Groups Projects
Commit 29bfab7b authored by Maxime Jacquemin's avatar Maxime Jacquemin
Browse files

[ivette] Minor fixes

parent f1292d76
No related branches found
No related tags found
No related merge requests found
...@@ -228,12 +228,10 @@ tr:first-of-type > .eva-table-callsite-box { ...@@ -228,12 +228,10 @@ tr:first-of-type > .eva-table-callsite-box {
height: 22px; height: 22px;
min-height: 22px; min-height: 22px;
max-height: 22px; max-height: 22px;
white-space: break-spaces; white-space: pre;
} }
.eva-values-position { .eva-values-position {
padding-left: 19px;
padding-right: 2px;
} }
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
......
...@@ -401,10 +401,12 @@ function ProbeValues(props: ProbeValuesProps): Request<callstack, JSX.Element> { ...@@ -401,10 +401,12 @@ function ProbeValues(props: ProbeValuesProps): Request<callstack, JSX.Element> {
const alarmClass = classes('eva-cell-alarms', `eva-alarm-${status}`); const alarmClass = classes('eva-cell-alarms', `eva-alarm-${status}`);
const kind = callstack === 'Summary' ? 'one' : 'this'; const kind = callstack === 'Summary' ? 'one' : 'this';
const title = `At least one alarm is raised in ${kind} callstack`; const title = `At least one alarm is raised in ${kind} callstack`;
const align = e.value.includes('\n') ? 'left' : 'center';
return ( return (
<td <td
className={className} className={className}
onContextMenu={onContextMenu(e)} onContextMenu={onContextMenu(e)}
style={{ textAlign: align }}
> >
<span className={'eva-values-position'}>{e.value}</span> <span className={'eva-values-position'}>{e.value}</span>
<Icon className={alarmClass} size={10} title={title} id="WARNING" /> <Icon className={alarmClass} size={10} title={title} id="WARNING" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment