Skip to content

Commit

Permalink
Fix: Removed Margin padding on h1, h2
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltySalt77 committed Feb 7, 2024
1 parent 3a491c6 commit f2c24a9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/app/hitchhiking/panel/HitchhikingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,23 @@ const HitchhikingCardBack = ({
fontSize: '0.75rem',
color: 'text.alternative',
margin: 0,
lineHeight: '1.125rem',
marginBlockStart: '0',
marginBlockEnd: '0',
marginTop: 0,
}}
sx={{
...style.cardContentStyleBase,
WebkitLineClamp: getLineCount(46, 18, 10) /* 라인수 */,
'& .toastui-editor-contents > h1:first-of-type': {
marginTop: 0,
},
'.toastui-editor-contents h1': {
paddingBottom: 0,
},
'.toastui-editor-contents h2': {
paddingBottom: 0,
},
}}
/>
</Box>
Expand Down

0 comments on commit f2c24a9

Please sign in to comment.