Skip to content

Commit

Permalink
feat(ui): Very small UI tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Jyrki Keisala <[email protected]>
  • Loading branch information
Etsija committed Nov 5, 2024
1 parent 196b32a commit da39f2b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,14 @@ type Props = {
};
const RuleViolationDetailsComponent = ({ details }: Props) => {
return (
<DialogContent className={'max-h-96 overflow-y-scroll lg:max-w-screen-lg'}>
<DialogContent
className={'max-h-96 overflow-y-scroll text-sm lg:max-w-screen-lg'}
>
<DialogHeader>
<DialogTitle>{details.rule}</DialogTitle>
<DialogDescription>{details?.message}</DialogDescription>
</DialogHeader>
<div className='grid grid-cols-8 gap-2 text-sm'>
<div className='grid grid-cols-8 gap-2'>
<div className='col-span-2 font-semibold'>License:</div>
<div className='col-span-6'>{details.license}</div>
<div className='col-span-2 font-semibold'>License source:</div>
Expand Down

0 comments on commit da39f2b

Please sign in to comment.