Skip to content

Commit

Permalink
Added styles adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliacech committed Feb 8, 2021
1 parent ad70c1b commit 9851d48
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
border-radius: 50%;
background-color: $euiColorLightestShade;
&--disabled {
margin-top: calc(#{$euiSizeS} - 2px);
margin-top: $euiSizeS;
width: $euiSize;
height: $euiSize;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
}
&__body {
padding: $euiSize;
background-color: $euiColorLightestShade;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.euiCommentEvent {
&__header {
padding: $euiSize;
background-color: $euiColorEmptyShade;
}
&__body {
padding: $euiSize;
Expand All @@ -18,4 +17,11 @@
height: calc(100% + #{$euiSizeXXL});
}
}
&--enabled {
.euiCommentEvent {
&__header {
background-color: $euiColorEmptyShade;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const Phase: FunctionComponent<Props> = ({ children, phase }) => {
username={phaseTitle}
actions={minAge}
timelineIcon={<PhaseIcon enabled={enabled} phase={phase} />}
className={'ilmPhase'}
className={`ilmPhase ${enabled ? 'ilmPhase--enabled' : ''}`}
>
<EuiText color="subdued" size={'s'} style={{ maxWidth: '50%' }}>
{i18nTexts.editPolicy.descriptions[phase]}
Expand Down

0 comments on commit 9851d48

Please sign in to comment.