Skip to content

Commit

Permalink
feat: more compact paddings in boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
BigJk committed Apr 2, 2024
1 parent 5a25725 commit 202a45a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/js/ui/components/source-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default (): m.Component<DataSourceBoxProps> => {
'div.info.bg-black-01.w-100.ba.b--black-05.lh-copy.overflow-auto',
{ key: key + '.info' },
m('div.ph2.pv1.overflow-auto', [
m(Flex, { className: '.mb2.pb2.bb.b--black-05', justify: 'between' }, [
m(Flex, { className: '.mb1.pb1.bb.b--black-05', justify: 'between' }, [
m('div.b', attrs.source.name), //
m('div.text-muted', attrs.source.count),
]), //
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/js/ui/components/workshop-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export default (): m.Component<WorkshopBoxProps> => {
'div.info.bg-black-01.w-100.ba.b--black-05.lh-copy.overflow-auto',
{ key: key + '.info' },
m('div.ph2.pv1.overflow-auto', [
m(Flex, { direction: 'column' }, [
m(Flex, { className: '.mb1.pb1.bb.b--black-05', justify: 'between' }, [
m('div.b', attrs.repo.name), //
m('div', cutDescription(attrs.repo.description)), //
]), //
m('div', cutDescription(attrs.repo.description)), //
]),
),
]),
Expand Down

0 comments on commit 202a45a

Please sign in to comment.