fixed availabilty layout
This commit is contained in:
1 parent
3b51cc9aef
commit
6da41fce63
4 files changed
+7
-12
No files matched your search
@@ -140,7 +140,7 @@ const Schedule = <
|
||||
const { i18n } = useLocale();
|
||||
|
||||
return (
|
||||
<div className="divide-y p-4 sm:divide-none">
|
||||
<div className="p-4">
|
||||
{/* First iterate for each day */}
|
||||
{weekdayNames(i18n.language, weekStart, "long").map((weekday, num) => {
|
||||
const weekdayIndex = (num + weekStart) % 7;
|
||||
|
||||
@@ -783,12 +783,7 @@ export function ShellMain(props: LayoutProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
className={classNames(
|
||||
"mb-6 flex items-center sm:mt-0",
|
||||
props.smallHeading ? "lg:mb-7" : "lg:mb-8",
|
||||
props.backPath === "/availability" && "ml-2.5 xl:ml-[7rem]"
|
||||
)}>
|
||||
<div className={classNames("mb-6 flex sm:mt-0", props.smallHeading ? "lg:mb-7" : "lg:mb-8")}>
|
||||
{!!props.backPath && (
|
||||
<Button
|
||||
variant="icon"
|
||||
@@ -799,7 +794,7 @@ export function ShellMain(props: LayoutProps) {
|
||||
}
|
||||
StartIcon={FiArrowLeft}
|
||||
aria-label="Go Back"
|
||||
className="rounded-md ltr:mr-2 rtl:ml-2"
|
||||
className="mt-2 rounded-md ltr:mr-2 rtl:ml-2"
|
||||
/>
|
||||
)}
|
||||
{props.heading && (
|
||||
|
||||
Reference in new issue
Block a user