Skip to content

Commit

Permalink
fix: change label orientation (#239)
Browse files Browse the repository at this point in the history
the new style is supported by chrome (webkit)
the labels may overflow on the left, where more space is usually available
because of the buttons
  • Loading branch information
swouf authored May 31, 2024
1 parent a27d7b3 commit e117e83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/modules/likertItem/LikertItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ const LikertItem: FC<LikertItemProps> = ({
typography: {
sx: {
transformOrigin: 'top center',
transform: 'rotate(45deg) translate(0.5em, 0)',
writingMode: 'sideways-lr',
width: '100%',
transform: 'rotate(-45deg) translate(-0.5em, 0)',
writingMode: 'vertical-lr',
overflow: 'hidden',
textOverflow: 'ellipsis',
},
Expand Down

0 comments on commit e117e83

Please sign in to comment.