From 9b9db3565a7c789e67071600568a631294e49c9a Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Thu, 5 Aug 2021 21:03:33 +0200 Subject: [PATCH] hide preview and copy link button on mobile --- pages/bookings/index.tsx | 2 +- pages/event-types/index.tsx | 265 ++++++++++++++++++------------------ 2 files changed, 134 insertions(+), 133 deletions(-) diff --git a/pages/bookings/index.tsx b/pages/bookings/index.tsx index b83eaf0c..370eda4a 100644 --- a/pages/bookings/index.tsx +++ b/pages/bookings/index.tsx @@ -123,7 +123,7 @@ export default function Bookings({ bookings }) { {({ open }) => ( <>
- + Open options diff --git a/pages/event-types/index.tsx b/pages/event-types/index.tsx index 4f8d31db..170246a0 100644 --- a/pages/event-types/index.tsx +++ b/pages/event-types/index.tsx @@ -180,11 +180,11 @@ export default function Availability({ user, types }) {
    {types.map((type) => (
  • - - -
    -
    -
    + -
    -
    - - - - - - -
    -
    -
    -
    - - {({ open }) => ( - <> -
    - - Open options - -
    + + + - - -
    - - {({ active }) => ( - - - )} - - - {({ active }) => ( - - )} - - {/**/} - {/* {({ active }) => (*/} - {/* */} - {/* */} -
    - {/*
    */} - {/* */} - {/* {({ active }) => (*/} - {/* */} - {/* */} - {/*
    */} -
    -
    - - )} -
    +
    +
    + + + + + +
    - - +
    + + {({ open }) => ( + <> +
    + + Open options + +
    + + + +
    + + {({ active }) => ( + + + )} + + + {({ active }) => ( + + )} + + {/**/} + {/* {({ active }) => (*/} + {/* */} + {/* */} +
    + {/*
    */} + {/* */} + {/* {({ active }) => (*/} + {/* */} + {/* */} + {/*
    */} +
    +
    + + )} +
    +
    +
    +
  • ))}