Icon button instead of text (#4636)
* Icon button instead of text * Add tooltip on hover
This commit is contained in:
1 parent
7d2f87a13e
commit
a1d4589e66
4 files changed
+10
-8
No files matched your search
@@ -844,12 +844,13 @@ const BookingPage = ({
|
||||
{!eventType.disableGuests && !guestToggle && (
|
||||
<Button
|
||||
type="button"
|
||||
color="secondary"
|
||||
color="minimalSecondary"
|
||||
size="icon"
|
||||
tooltip={t("additional_guests")}
|
||||
StartIcon={Icon.FiUserPlus}
|
||||
onClick={() => setGuestToggle(!guestToggle)}
|
||||
className="dark:bg-darkmodebrand dark:text-darkmodebrandcontrast dark:hover:border-darkmodebrandcontrast mr-auto dark:border-transparent">
|
||||
<Icon.FiUserPlus className="mr-2" />
|
||||
{t("additional_guests")}
|
||||
</Button>
|
||||
className="mr-auto"
|
||||
/>
|
||||
)}
|
||||
<Button
|
||||
color="minimal"
|
||||
|
||||
@@ -446,7 +446,7 @@
|
||||
"sunday": "Sunday",
|
||||
"all_booked_today": "All booked today.",
|
||||
"slots_load_fail": "Could not load the available time slots.",
|
||||
"additional_guests": "Add guest",
|
||||
"additional_guests": "Add guests",
|
||||
"your_name": "Your name",
|
||||
"email_address": "Email address",
|
||||
"enter_valid_email": "Please enter a valid email",
|
||||
|
||||
Reference in new issue
Block a user