Skip to content

Commit

Permalink
switch any-point:coarse to pointer:coarse (#2631)
Browse files Browse the repository at this point in the history
The current CSS keeps the hide cell buttons always on when Pluto is opened on laptops which also have a touchscreen.

Using pointer instead of any-pointer should only make the button always on only on devices that have the touchscreen as primary.
  • Loading branch information
disberd authored Aug 24, 2023
1 parent bfd7830 commit 83ec7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ pluto-input > button > span {
}
}

@media screen and (any-pointer: coarse) {
@media screen and (pointer: coarse) {
pluto-cell > button,
pluto-cell > pluto-runarea {
opacity: 0;
Expand Down

0 comments on commit 83ec7c5

Please sign in to comment.