Remove QR code hover state

It wasn't very useful since it scans just fine at this size
This commit is contained in:
daudix
2024-09-09 19:51:40 +03:00
parent ceded156a8
commit 4722ee54cd
3 changed files with 10 additions and 14 deletions

View File

@ -2,14 +2,10 @@
#qrcode {
float: inline-end;
transform-origin: right;
cursor: none;
box-sizing: content-box;
margin-inline-start: 1rem;
margin-block-start: 3rem;
margin-block-end: 0;
outline-color: transparent;
outline-style: dashed;
outline-width: 0.125rem;
background-color: white;
padding: 0.75rem;
width: 7.8125rem; // 125px
@ -19,14 +15,6 @@
transform-origin: left;
}
&:hover {
transform: scale(2);
outline-color: var(--primary-color);
outline-offset: 0.25rem;
border-radius: var(--rounded-corner-small);
padding: 0.5rem;
}
@media only screen and (max-width: 720px) {
display: none;
}