Skip to content

Commit 8b7ef50

Browse files
committed
Fix broken tooltip layout with container layout issues
Refs: #7987
1 parent f45cab4 commit 8b7ef50

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/components/src/components/tooltip/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
animation-name: fadeInOpacity;
1111
animation-timing-function: ease-in;
1212
display: none;
13-
position: fixed;
13+
position: absolute;
1414
visibility: hidden;
1515
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
1616
top: 0;

packages/components/src/styles/_kol-form-field-mixin.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
display: grid;
99

10+
&__input {
11+
position: relative;
12+
}
13+
1014
&__label {
1115
#{$root}:not(#{$root}--disabled) & {
1216
cursor: pointer;

0 commit comments

Comments
 (0)