Skip to content

Commit

Permalink
fix: add a gap to property element via parent component
Browse files Browse the repository at this point in the history
  • Loading branch information
AlasDiablo committed May 13, 2024
1 parent f498c54 commit 6940ae0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/app/js/characteristic/DatasetCharacteristics.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const styles = {
flexFlow: 'row wrap',
paddingTop: '2rem',
paddingBottom: '1rem',
gap: '1%',
},
item: {
display: 'flex',
Expand Down
9 changes: 6 additions & 3 deletions src/app/js/public/Property/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@ const styles = {
display: 'flex',
flexDirection: 'column',
width: {
xs: '100%',
sm: width === '50' ? '100%' : `${width || 100}%`,
md: `${width || 100}%`,
xs: 'calc(100% - 2%)',
sm:
width === '50'
? 'calc(100% - 2%)'
: `calc(${width || 100}% - 2%)`,
md: `calc(${width || 100}% - 2%)`,
},
...style,
}),
Expand Down
1 change: 1 addition & 0 deletions src/app/js/public/resource/Detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const styles = {
paddingTop: dense ? '0.5rem' : '1rem',
paddingLeft: '1rem',
paddingRight: '1rem',
gap: '1%',
}),
valueContainer: {
display: 'flex',
Expand Down

0 comments on commit 6940ae0

Please sign in to comment.