mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(bug) form tooltip is partly hidden by the next tooltip trigger
This commit is contained in:
parent
658ef20bc8
commit
9ef2e251b0
@ -15,40 +15,33 @@
|
||||
}
|
||||
|
||||
.item-tooltip {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
.trigger {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
&:hover + .content {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
.trigger i { display: block; }
|
||||
.content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
display: none;
|
||||
width: max-content;
|
||||
max-width: min(75vw, 65ch);
|
||||
padding: 1rem;
|
||||
background-color: var(--information-lightest);
|
||||
color: var(--information);
|
||||
border: 1px solid var(--information);
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
font-size: 14px;
|
||||
width: auto;
|
||||
font-weight: normal;
|
||||
line-height: 1.2em;
|
||||
|
||||
& a {
|
||||
z-index: 1;
|
||||
& > span { display: block; }
|
||||
a {
|
||||
color: var(--gray-hard);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
&:hover .content { display: block; }
|
||||
}
|
||||
}
|
||||
&.is-hidden {
|
||||
|
Loading…
x
Reference in New Issue
Block a user