naive-ui/styles/Tooltip.scss

18 lines
325 B
SCSS
Raw Normal View History

2019-06-28 18:14:06 +08:00
@import "./mixins/mixins.scss";
@import "./themes/vars.scss";
2019-06-20 12:46:29 +08:00
@include b(tooltip) {
position: relative;
}
@include b(tooltip__content) {
padding: 8px 14px;
white-space: nowrap;
2019-07-26 17:40:49 +08:00
&.n-tooltip__content--fix-width {
white-space: normal;
2019-09-02 18:30:53 +08:00
width: max-content;
max-width: 100%;
box-sizing: border-box;
2019-07-26 17:40:49 +08:00
}
2019-06-28 18:14:06 +08:00
}