smal bugs fixes: link color and column naming

This commit is contained in:
Yulia Shanyrova 2022-09-08 13:48:36 +02:00
parent 84bcbb375f
commit 804da53982
5 changed files with 23 additions and 8 deletions

View file

@ -112,3 +112,7 @@
.slack-channel-switch {
margin-left: -8px;
}
.description-style a {
color: var(--primary-text-link);
}

View file

@ -280,12 +280,14 @@ class AlertRules extends React.Component<AlertRulesProps, AlertRulesState> {
</div>
</Block>
{alertReceiveChannel.description && (
<Alert
style={{ marginBottom: '0' }}
// @ts-ignore
title={<div dangerouslySetInnerHTML={{ __html: sanitize(alertReceiveChannel.description) }}></div>}
severity="info"
/>
<div className={cx('description-style')}>
<Alert
style={{ marginBottom: '0' }}
// @ts-ignore
title={<div dangerouslySetInnerHTML={{ __html: sanitize(alertReceiveChannel.description) }}></div>}
severity="info"
/>
</div>
)}
<div className={cx('alertRulesContent')}>
<div className={cx('alertRulesActions')}>

View file

@ -18,3 +18,7 @@
line-height: 20px;
height: auto;
}
.instructions-link {
color: var(--primary-text-link);
}

View file

@ -109,7 +109,12 @@ const DefaultPageLayout: FC<DefaultPageLayoutProps> = observer((props) => {
{`Current plugin version: ${plugin.version}, current engine version: ${store.backendVersion}`}
<br />
Please see{' '}
<a href={'https://grafana.com/docs/oncall/latest/open-source/#update-grafana-oncall-oss'} target="_blank" rel="noreferrer">
<a
href={'https://grafana.com/docs/oncall/latest/open-source/#update-grafana-oncall-oss'}
target="_blank"
rel="noreferrer"
className={cx('instructions-link')}
>
the update instructions
</a>
.

View file

@ -321,7 +321,7 @@ class Incidents extends React.Component<IncidentsPageProps, IncidentsPageState>
},
{
width: '15%',
title: 'Source',
title: 'Integrations',
key: 'source',
render: withSkeleton(this.renderSource),
},