overleaf/services/web/frontend/stylesheets/bootstrap-5/components/tooltip.scss
Rebeka Dekany 285a0cae03 Merge pull request #17309 from overleaf/rd-bootstrap-5-stylelint
[web] Introducing Stylelint as the CSS linter

GitOrigin-RevId: 89ee8860cdb3a94949749577b63cde2c3dc213fb
2024-05-01 08:04:13 +00:00

28 lines
441 B
SCSS

.tooltip {
line-height: 20px;
@include shadow-md;
&.#{$prefix}tooltip-top {
bottom: -1px !important;
}
&.#{$prefix}tooltip-end {
top: 1px !important;
left: -1px !important;
}
&.#{$prefix}tooltip-bottom {
top: -1px !important;
}
&.#{$prefix}tooltip-start {
top: 1px !important;
right: -1px !important;
}
}
.tooltip-inner {
text-align: initial;
.tooltip-wide & {
max-width: unset;
}
}