Skip to content

Commit

Permalink
Tank margins.
Browse files Browse the repository at this point in the history
  • Loading branch information
fwaalkens authored and martinbosma committed Feb 26, 2024
1 parent 913a2a8 commit 7c3c218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Marine2/components/boxes/Tanks/Tank/Tank.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Tank = ({ tankInstanceId, componentMode, orientation = "vertical", parentS

if (componentMode === "compact") {
return (
<div className="flex justify-between items-center gap-2 mb-4">
<div className="flex justify-between items-center gap-2 md:mb-8 mb-4">
<div className={classnames("flex items-center gap-1 truncate", compactActiveStyles?.iconContainer)}>
<FluidIcon fluid={fluidTypeNum} className={classnames("shrink-0", compactActiveStyles?.icon)} />
<div className={classnames("truncate", compactActiveStyles?.tankName)}>{tankTitle} </div>
Expand All @@ -63,7 +63,7 @@ const Tank = ({ tankInstanceId, componentMode, orientation = "vertical", parentS

if (orientation === "vertical") {
return (
<div className="flex justify-between items-center gap-2 mb-4">
<div className="flex justify-between items-center gap-2 md:mb-6 mb-4">
<div className="flex items-center gap-1 w-[17rem] sm:w-[10rem] md:w-[12rem] truncate">
<FluidIcon fluid={fluidTypeNum} className="shrink-0 w-[32px]" />
<div className="flex flex-col truncate">
Expand Down

0 comments on commit 7c3c218

Please sign in to comment.