Skip to content

Commit

Permalink
♻️(frontend) use pandas utilities
Browse files Browse the repository at this point in the history
Forgot how panda css is amazing. They provide all kinds of utilities,
and few for accessibility. Amazing!
  • Loading branch information
lebaudantoine committed Jan 24, 2025
1 parent 96c18fc commit 30bde2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/features/home/routes/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ const Columns = ({ children }: { children?: ReactNode }) => {
justifyContent: 'normal',
padding: '0 1rem',
width: 'calc(100% - 2rem)',
'@media(prefers-reduced-motion: reduce)': {
_motionReduce: {
opacity: 1,
},
'@media(prefers-reduced-motion: no-preference)': {
_motionSafe: {
opacity: 0,
animation: '.5s ease-in fade 0s forwards',
},
Expand Down

0 comments on commit 30bde2f

Please sign in to comment.