rucio / webui

RucioWebUI (v2.0)
Apache License 2.0
4 stars 14 forks source link

Use `useResponsiveHook` more frequently #366

Closed ThePhisch closed 5 months ago

ThePhisch commented 11 months ago

Use this hook more often, it cleans the codebase.

eg

const responsive = useResponsiveHook()
//...
<StreamedTable
  //...
  tableStyling={{
    visibility: { tableid: responsive.md }
  }}
>
//...
maany commented 7 months ago

This will overload the browser when resizing. Use CSS ( Tailwind breakpoints) instead.