mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
Enabled multiline tooltips, and disabled dotted lines for tooltips when child elements contain links of form elements.
This commit is contained in:
parent
68a9fb92ee
commit
fdf5c83210
241 changed files with 514 additions and 480 deletions
|
@ -9,7 +9,7 @@
|
|||
#{$parent-selector} [data-tooltip] {
|
||||
position: relative;
|
||||
|
||||
&:not(a, button, input, [role="button"]) {
|
||||
&:not(:has(a, button, input, [role="button"])):not(a, button, input, [role="button"]) {
|
||||
border-bottom: 1px dotted;
|
||||
text-decoration: none;
|
||||
cursor: help;
|
||||
|
@ -19,7 +19,7 @@
|
|||
&[data-placement="top"]::after,
|
||||
&::before,
|
||||
&::after {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
z-index: 99;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
|
@ -36,7 +36,7 @@
|
|||
font-size: 0.875rem;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
white-space: pre;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue