fix: always show copy button on mobile (no hover on touch)
CI / lint (push) Successful in 30s
CI / security (push) Successful in 13s
CI / test (push) Successful in 28s
CI / build (push) Successful in 8s
CI / e2e (push) Failing after 21s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
CI / lint (push) Successful in 30s
CI / security (push) Successful in 13s
CI / test (push) Successful in 28s
CI / build (push) Successful in 8s
CI / e2e (push) Failing after 21s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
- @media (max-width: 768px): .copy-code-btn opacity: 1 - Smaller padding/font on mobile (2px 8px, 10px font) - Tighter position (top: 4px, right: 4px) to avoid overlapping content
This commit is contained in:
@@ -8560,3 +8560,14 @@ body.popup-mode .content-area {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
border-color: var(--accent-green);
|
border-color: var(--accent-green);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Mobile : toujours visible (pas de hover sur tactile) */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.copy-code-btn {
|
||||||
|
opacity: 1;
|
||||||
|
padding: 2px 8px;
|
||||||
|
font-size: 10px;
|
||||||
|
top: 4px;
|
||||||
|
right: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user