styling tweaks
This commit is contained in:
parent
a01af799d3
commit
452b25b45a
3 changed files with 4 additions and 4 deletions
|
@ -17,9 +17,9 @@ export const MenuWrapper = ({ children }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ModalWrapper slideFrom="right" keepOpenOnClick keepOpenOnSwipe>
|
<ModalWrapper slideFrom="right" keepOpenOnClick keepOpenOnSwipe>
|
||||||
{children}
|
<div className="mb-16">{children}</div>
|
||||||
<button
|
<button
|
||||||
className="btn btn-primary btn-circle sticky bottom-2 float-right"
|
className="btn btn-primary btn-circle fixed bottom-4 right-4"
|
||||||
onClick={closeModal}
|
onClick={closeModal}
|
||||||
>
|
>
|
||||||
<CloseIcon />
|
<CloseIcon />
|
||||||
|
|
|
@ -82,7 +82,7 @@ export const CutView = ({
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
pattern: (
|
pattern: (
|
||||||
<div className="my-4">
|
<div className="my-4 grow">
|
||||||
{materialList.length > 1 ? (
|
{materialList.length > 1 ? (
|
||||||
<div className="tabs">
|
<div className="tabs">
|
||||||
{materialList.map((title) => (
|
{materialList.map((title) => (
|
||||||
|
|
|
@ -25,7 +25,7 @@ export const PatternWithMenu = ({
|
||||||
setSettings,
|
setSettings,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-col lg:flex-row grow max-h-[90vh] lg:my-4">
|
<div className="flex flex-col lg:flex-row grow lg:max-h-[90vh] max-h-[calc(100vh-3rem)] h-full py-4 lg:mt-6">
|
||||||
<div className="lg:w-2/3 flex flex-col h-full grow px-4">
|
<div className="lg:w-2/3 flex flex-col h-full grow px-4">
|
||||||
{title}
|
{title}
|
||||||
{pattern}
|
{pattern}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue