Skip to content

Commit c619b5e

Browse files
committed
MUI9 | fixing timeline padding and alignment
1 parent fc60d0e commit c619b5e

3 files changed

Lines changed: 12 additions & 133 deletions

File tree

src/components/common/Events.jsx

Lines changed: 0 additions & 129 deletions
This file was deleted.

src/components/map-projects/Discuss.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,12 @@ const Discuss = ({ logs, onAdd }) => {
120120
padding: '4px 16px',
121121
marginBottom: 0,
122122
[`& .${timelineItemClasses.root}:before`]: {
123-
flex: 0,
124-
padding: 0,
123+
flex: '0 !important',
124+
padding: '0 !important',
125+
},
126+
[`& .${timelineItemClasses.missingOppositeContent}::before`]: {
127+
flex: '0 !important',
128+
padding: '0 !important',
125129
},
126130
}}
127131
>

src/components/map-projects/ProjectLogs.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,12 @@ const ProjectLogs = ({onClose, logs, project}) => {
120120
padding: '4px 20px',
121121
marginBottom: 0,
122122
[`& .${timelineItemClasses.root}:before`]: {
123-
flex: 0,
124-
padding: 0,
123+
flex: '0 !important',
124+
padding: '0 !important',
125+
},
126+
[`& .${timelineItemClasses.missingOppositeContent}::before`]: {
127+
flex: '0 !important',
128+
padding: '0 !important',
125129
},
126130
}}
127131
>

0 commit comments

Comments
 (0)