fix(ui): tooltip link color EE-4914 (#8365)

pull/8378/head
Prabhat Khera 2023-01-23 10:15:47 +13:00 committed by GitHub
parent 5b5dc320d5
commit ac458d0daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 2 deletions

View File

@ -72,6 +72,7 @@
--blue-11: #3ea5ff;
--blue-12: #41a6ff;
--blue-14: #357ebd;
--blue-15: #36bffa;
--red-1: #a94442;
--red-2: #c7254e;

View File

@ -45,7 +45,7 @@
Webhook
<portainer-tooltip
message="$ctrl.environmentType === 'KUBERNETES' ?
'See&nbsp;<a href=\'https://docs.portainer.io/user/kubernetes/applications/manifest#automatic-updates\' target=\'_blank\' rel=\'noreferrer\'>Portainer documentation on webhook usage</a>.' :
'See&nbsp;<a href=\'https://docs.portainer.io/user/kubernetes/applications/webhooks\' target=\'_blank\' rel=\'noreferrer\'>Portainer documentation on webhook usage</a>.' :
'See&nbsp;<a href=\'https://docs.portainer.io/user/docker/stacks/webhooks\' target=\'_blank\' rel=\'noreferrer\'>Portainer documentation on webhook usage</a>.'"
set-html-message="true"
></portainer-tooltip>

View File

@ -25,6 +25,10 @@
font-size: 12px !important;
}
.tooltip-message a {
color: var(--blue-15) !important;
}
.tooltip-heading {
font-weight: 500;
}

View File

@ -54,7 +54,7 @@ export function TooltipWithChildren({
)}
</div>
)}
<div>{message}</div>
<div className={styles.tooltipMessage}>{message}</div>
</div>
);