Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

Phone: one tap opens a call (no hover reveals on touch screens) (PR 2042)

Tim Gutberletd6d393576759
diff --git a/apps/web/src/mobile.css b/apps/web/src/mobile.css
index 2bf0c8df..195b64d1 100644
--- a/apps/web/src/mobile.css
+++ b/apps/web/src/mobile.css
@@ -484,3 +484,28 @@
bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}
}
+
+/*
+ * Touch screens: hovering must change nothing on a row. iOS treats the first tap on an element whose :hover shows or
+ * hides something as a hover only, so a call needed two taps to open (seen in the App Review recording, LIN-874).
+ * These rules undo every :hover reveal of the rows; while calls are selected the boxes still show.
+ */
+@media (hover: none) {
+ .row:hover .r-check {
+ opacity: 0;
+ }
+ .ib-list.is-selecting .row:hover .r-check {
+ opacity: 1;
+ }
+ .row:hover .r-dot > i {
+ visibility: visible;
+ }
+ .ib-list.is-selecting .row:hover .r-dot > i {
+ visibility: hidden;
+ }
+ .row:hover:not(.is-cursor) .r-time,
+ .row:hover:not(.is-cursor) .r-dur {
+ display: block;
+ visibility: visible;
+ }
+}