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;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.config-card-content.open > div {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
/* Toggle switches */
|
/* Toggle switches */
|
||||||
.toggle-group {
|
.toggle-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -764,6 +768,15 @@ body {
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Expand touch target for mobile devices */
|
||||||
|
@media (pointer: coarse) {
|
||||||
|
.tooltip-trigger::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: -12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tooltip-content {
|
.tooltip-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 140%;
|
bottom: 140%;
|
||||||
|
|||||||
@ -17,8 +17,14 @@ export function playInstallAudio() {
|
|||||||
const audio = getInstallAudio();
|
const audio = getInstallAudio();
|
||||||
if (audio) {
|
if (audio) {
|
||||||
audio.currentTime = 0;
|
audio.currentTime = 0;
|
||||||
audio.play();
|
audio.load();
|
||||||
|
audio.play()
|
||||||
|
.then(() => {
|
||||||
soundEnabled.set(true);
|
soundEnabled.set(true);
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
soundEnabled.set(false);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user