Skip to content

Commit c8dae53

Browse files
tommaso1github-user-nameSebastiano-Bertolinmarcobottaro
authored
[DEV-3080] Update inline code style (#1792)
* Refactor padding styles in StyledText component for improved layout * Add inline styling updates for nextjs-website * Update apps/nextjs-website/src/components/organisms/GitBookContent/components/StyledText.tsx Co-authored-by: marcobottaro <39835990+marcobottaro@users.noreply.github.com> --------- Co-authored-by: Your Name <youremail@yourdomain.com> Co-authored-by: Sebastiano Bertolin <56671015+Sebastiano-Bertolin@users.noreply.github.com> Co-authored-by: marcobottaro <39835990+marcobottaro@users.noreply.github.com>
1 parent 7b1c7a7 commit c8dae53

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changeset/hot-hounds-wish.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"nextjs-website": patch
3+
---
4+
5+
Update code inline styling

apps/nextjs-website/src/components/organisms/GitBookContent/components/StyledText.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ const StyledText = ({ style, children }: StyledTextProps) => {
1212
variant='monospaced'
1313
component='span'
1414
sx={{
15-
paddingY: 0.5,
16-
paddingX: 1,
15+
color: palette.grey[800],
16+
paddingY: 0,
17+
paddingX: '4px',
1718
backgroundColor: palette.background.default,
19+
fontWeight: 600,
20+
borderRadius: '5px',
1821
}}
1922
>
2023
{children}

0 commit comments

Comments
 (0)