Skip to content

Commit

Permalink
fix: updated temp-div paddings to only be bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 26, 2024
1 parent 229f770 commit 3139369
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/production-line/production-line.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { useCheckBadLineData } from "./use-check-bad-line-data.ts";
import { NavigateToRootButton } from "../navigate-to-root-button/navigate-to-root-button.tsx";

const TempDiv = styled.div`
padding: 1rem 0;
padding: 0 0 2rem 0;
`;

const HeaderWrapper = styled.div`
Expand Down Expand Up @@ -70,6 +70,11 @@ const ButtonWrapper = styled.span`
margin: 0 2rem 0 0;
`;

const ListWrapper = styled(DisplayContainer)`
width: 100%;
height: fit-content;
`;

export const ProductionLine: FC = () => {
const { productionId: paramProductionId, lineId: paramLineId } = useParams();
const [
Expand Down Expand Up @@ -268,7 +273,7 @@ export const ProductionLine: FC = () => {
)}
</div>
</DisplayContainer>
<DisplayContainer>
<ListWrapper>
{line && (
<UserList
sessionid={sessionId}
Expand All @@ -277,7 +282,7 @@ export const ProductionLine: FC = () => {
audioLevelAboveThreshold={audioLevelAboveThreshold}
/>
)}
</DisplayContainer>
</ListWrapper>
</FlexContainer>
)}
</>
Expand Down

0 comments on commit 3139369

Please sign in to comment.