Skip to content

Commit 95c1f1d

Browse files
authored
Merge pull request #3724 from AlchemyCMS/backport/8.1-stable/pr-3716
[8.1-stable] Hide Shoelace tooltips on touch devices
2 parents 97e0cdf + dbe382f commit 95c1f1d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

app/assets/builds/alchemy/admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/stylesheets/alchemy/admin/shoelace.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,12 @@ sl-tooltip {
307307
border-radius: var(--border-radius_medium);
308308
box-shadow: var(--tooltip-box-shadow);
309309
}
310+
311+
@media (pointer: coarse) {
312+
&::part(base__popup) {
313+
display: none;
314+
}
315+
}
310316
}
311317

312318
sl-button {

0 commit comments

Comments
 (0)