1
0
Fork 0

handle cases with 'only' in cutting layout

This commit is contained in:
Enoch Riese 2023-03-12 11:12:11 -05:00
parent b146f6271f
commit 47953e8e27
4 changed files with 18 additions and 8 deletions

View file

@ -46,7 +46,7 @@ const FabricSizer = ({ gist, updateGist, activeFabric, sheetWidth }) => {
<input
key="input-fabricWidth"
type="text"
className="input input-bordered grow text-base-content border-r-0"
className="input input-bordered grow text-base-content border-r-0 w-20"
value={val}
onChange={update}
/>
@ -119,7 +119,7 @@ export const CutLayoutSettings = ({
<SheetIcon className="h-6 w-6 mr-2 inline align-middle" />
<span className="text-xl font-bold align-middle">{fabricLength}</span>
</div>
<div>
<div className="flex">
<ShowButtonsToggle
gist={gist}
updateGist={updateGist}
@ -128,7 +128,7 @@ export const CutLayoutSettings = ({
<button
key="reset"
onClick={() => unsetGist(['layouts', 'cuttingLayout', activeFabric])}
className="btn btn-primary btn-outline"
className="btn btn-primary btn-outline ml-4"
>
<ClearIcon className="h-6 w-6 mr-2" />
{t('reset')}