Skip to content

Commit

Permalink
fix: added height and some css-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Aug 30, 2024
1 parent 5523759 commit eb19449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/inventory/Inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function Inventory() {
</div>

{currentSource ? (
<div className={`p-3 ml-2 mt-2 bg-container rounded h-1/2 min-w-max`}>
<div className={`p-3 ml-2 mt-2 bg-container rounded h-[60%] min-w-max`}>
<EditView
source={currentSource}
updateSource={(source) => setUpdatedSource(source)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/DefaultLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function DefaultLayout({
}) {
return (
<div className="flex h-screen justify-between w-full flex-col">
<div className="flex flex-row rounded p-2 w-full mb-8">
<div className="flex flex-row rounded p-2 w-full mb-8 h-full">
<div className="p-3 m-2 grow rounded">{children}</div>
</div>

Expand Down

0 comments on commit eb19449

Please sign in to comment.