mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-03-01 06:17:38 +00:00
Merge branch 'master' into save
This commit is contained in:
commit
5bfe237d7b
13
src/app.css
13
src/app.css
@ -600,6 +600,10 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.config-card-content.open > div {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Toggle switches */
|
||||
.toggle-group {
|
||||
display: flex;
|
||||
@ -764,6 +768,15 @@ body {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Expand touch target for mobile devices */
|
||||
@media (pointer: coarse) {
|
||||
.tooltip-trigger::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -12px;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-content {
|
||||
position: absolute;
|
||||
bottom: 140%;
|
||||
|
||||
@ -17,8 +17,14 @@ export function playInstallAudio() {
|
||||
const audio = getInstallAudio();
|
||||
if (audio) {
|
||||
audio.currentTime = 0;
|
||||
audio.play();
|
||||
soundEnabled.set(true);
|
||||
audio.load();
|
||||
audio.play()
|
||||
.then(() => {
|
||||
soundEnabled.set(true);
|
||||
})
|
||||
.catch(() => {
|
||||
soundEnabled.set(false);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user