Skip to content

Commit

Permalink
LF-4691 Fix CSS for padding
Browse files Browse the repository at this point in the history
  • Loading branch information
SayakaOno committed Feb 6, 2025
1 parent 4df2984 commit 43754f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/webapp/src/components/Sensor/v2/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
@import '../../../assets/mixin.scss';

.wrapper {
padding: 34px 8px 0 8px;
padding: 34px 32px 0 32px;

@include xs-breakpoint {
padding: 24px 0 0 0;
padding: 24px 24px 0 24px;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ const PostSensor = ({ history, isCompactSideMenu }: PostSensorProps) => {
defaultFormValues={defaultFormValues}
variant={Variant.STEPPER_PROGRESS_BAR}
onSave={onSave}
headerComponent={PageTitle}
headerComponent={(props: any) => (
<PageTitle classNames={{ wrapper: styles.pageTitle }} {...props} />
)}
showPreviousButton={false}
formMode="onChange"
isCompactSideMenu={isCompactSideMenu}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@

.formWrapper {
height: 100%;
padding: 24px;
}

.pageTitle {
padding: 24px 24px 0 24px;
}

0 comments on commit 43754f2

Please sign in to comment.