fix App.vue: usa safe-area-inset-top per btn-info su telefoni con notch
Su dispositivi con status bar alta o notch il bottone info finiva sotto l'area di sistema e non era toccabile. Aggiunto env(safe-area-inset-top) per posizionarlo sempre nell'area visibile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@ const showInfo = ref(false)
|
|||||||
|
|
||||||
.btn-info {
|
.btn-info {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 14px;
|
top: calc(14px + env(safe-area-inset-top));
|
||||||
right: 16px;
|
right: 16px;
|
||||||
/* centra rispetto al max-width del layout */
|
/* centra rispetto al max-width del layout */
|
||||||
max-width: calc(480px);
|
max-width: calc(480px);
|
||||||
|
|||||||
Reference in New Issue
Block a user