97399 Improvements to ContextHelpDirective and ContextHelpWrapperComponent

This commit is contained in:
Koen Pauwels
2022-12-16 16:50:17 +01:00
parent a40d93a941
commit 28a127ca0e
8 changed files with 49 additions and 51 deletions

View File

@@ -3,21 +3,23 @@
}
.ds-context-help-icon {
position: absolute;
top: 0;
position: absolute;
top: 0;
cursor: pointer;
color: var(--bs-info);
background-color: var(--bs-white);
font-size: 16px; // not relative, because we don't want the icon to resize based on the container
line-height: 1;
border-radius: 50%;
}
.ds-context-help-icon-left {
left: var(--ds-context-x-offset);
color: var(--bs-info);
background-color: var(--bs-white);
font-size: (--dscontext-help-icon-size);
line-height: 1;
border-radius: 50%;
}
.ds-context-help-icon-right {
right: var(--ds-context-icon-width);
right: calc(-1 * var(--ds-context-help-icon-size));
}
::ng-deep .tooltip-inner {