web/SectionHeading: make the link button always visible

scaling and 40 letter german words will be the death of me
This commit is contained in:
wukko 2024-09-22 15:42:25 +06:00
parent 128a1ff696
commit 1473f220cb
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -51,13 +51,17 @@
padding: 2px;
box-shadow: none;
border-radius: 5px;
transition: opacity 0.1s;
transition: opacity 0.2s;
opacity: 0.7;
}
.link-copy:focus-visible {
opacity: 1;
}
.link-copy :global(.copy-animation) {
width: 17px;
height: 17px;
opacity: 0.7;
}
.link-copy :global(.copy-animation *) {
@ -65,10 +69,6 @@
height: 17px;
}
.link-copy :global(.copy-animation):hover {
opacity: 1;
}
.beta-label {
display: flex;
justify-content: center;
@ -84,10 +84,6 @@
}
@media (hover: hover) {
.link-copy:not(:focus-visible) {
opacity: 0;
}
.heading-container:hover .link-copy {
opacity: 1;
}