fix: button shifting while focusing (#6521)
* fix: remove border on focus * refactor: remove dark mode styles
This commit is contained in:
@@ -961,12 +961,7 @@ const BookingPage = ({
|
||||
className="mr-auto"
|
||||
/>
|
||||
)}
|
||||
<Button
|
||||
color="minimal"
|
||||
type="button"
|
||||
onClick={() => router.back()}
|
||||
// We override this for this component only for now - as we don't support darkmode everywhere in the app
|
||||
className="dark:hover:bg-darkgray-200 dark:border-none dark:text-white">
|
||||
<Button color="minimal" type="button" onClick={() => router.back()}>
|
||||
{t("cancel")}
|
||||
</Button>
|
||||
<Button
|
||||
|
||||
@@ -73,7 +73,7 @@ const buttonClasses = cva(
|
||||
disabled: [undefined, false],
|
||||
color: "primary",
|
||||
className:
|
||||
"bg-brand-500 hover:bg-brand-400 focus:border focus:border-white focus:outline-none focus:ring-2 focus:ring-offset focus:ring-brand-500 dark:hover:bg-darkgray-600 dark:bg-darkgray-900",
|
||||
"bg-brand-500 hover:bg-brand-400 focus:outline-none focus:ring-2 focus:ring-offset focus:ring-brand-500 dark:hover:bg-darkgray-600 dark:bg-darkgray-900",
|
||||
}),
|
||||
// Secondary variants
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user