Skip to content

Commit

Permalink
Merge pull request #668 from oasisprotocol/lw/dl-align
Browse files Browse the repository at this point in the history
Fix description alignment in description list
  • Loading branch information
lukaw3d authored Jul 5, 2023
2 parents 55bba61 + 4c05fdd commit 0929a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/668.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix description alignment in description list
3 changes: 2 additions & 1 deletion src/app/components/StyledDescriptionList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export const StyledDescriptionList = styled(InlineDescriptionList, {
})<StyledDescriptionListProps>(({ theme, standalone, highlight }) => ({
'dt, dd': {
display: 'flex',
alignItems: 'start',
boxShadow: `0px 1px 0px ${COLORS.grayLight}`,
':last-of-type': {
boxShadow: 'none',
Expand All @@ -56,10 +55,12 @@ export const StyledDescriptionList = styled(InlineDescriptionList, {
},
dt: {
color: COLORS.grayDark,
alignItems: 'start',
},
dd: {
color: COLORS.brandExtraDark,
overflowWrap: 'anywhere',
alignItems: 'center',
},
...(standalone && {
'&&': {
Expand Down

0 comments on commit 0929a78

Please sign in to comment.