overleaf/services/web/frontend/stylesheets/bootstrap-5/components/tooltip.scss
M Fahru 9f38436f10 Merge pull request #17736 from overleaf/ii-bs5-tooltip
[web] Create Btoostrap 5 tooltips

GitOrigin-RevId: 28c7c389bda74765482049750fc0ae8a5995968e
2024-04-16 08:04:42 +00:00

27 lines
440 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;
}
}