Shrink app UI to 90% and convert all px to rem (16px browser default)#26826
Merged
Conversation
Remove html { font-size: 14px } so the root font-size defaults to
the browser setting (typically 16px). Convert body font-size/line-height
to rem/unitless: 0.8125rem / 1.5385.
Existing rem values will render larger until rebased in follow-up commits.
…sual → 10px visual]
…al → 11px visual]
…ual → 12px visual]
…al → 33px visual]
* revert all line-height values to main * convert lh 16px (fs unknown) > round(16*0.9)/16 = 0.875rem * convert lh 18px (fs unknown) > round(18*0.9)/16 = 1rem * convert lh=fs (12px, 18px, 24px) > round(n*0.9)/round(n*0.9) = 1 (unitless) * convert lh 38px / fs 1.9375rem > round(38*0.9)/16 = 2.125 / 1.9375 = 1.0968 (unitless) * convert lh 52px / fs 2.5rem > round(52*0.9)/16 = 2.9375 / 2.5 = 1.175 (unitless) * convert lh 1rem (14px) / fs 0.6875rem > round(14*0.9)/16 = 0.8125 / 0.6875 = 1.1818 (unitless) * convert lh 48px / fs 2.25rem > round(48*0.9)/16 = 2.6875 / 2.25 = 1.1944 (unitless) * convert lh 19px / fs 0.875rem > round(19*0.9)/16 = 1.0625 / 0.875 = 1.2143 (unitless) * convert lh 31px / fs 1.4375rem > round(31*0.9)/16 = 1.75 / 1.4375 = 1.2174 (unitless) * convert lh 52px / fs 2.375rem > round(52*0.9)/16 = 2.9375 / 2.375 = 1.2368 (unitless) * convert lh 28px / fs 1.25rem > round(28*0.9)/16 = 1.5625 / 1.25 = 1.25 (unitless) * convert lh 22px (fs unknown) > round(22*0.9)/16 = 1.25rem * convert lh 46px / fs 2rem > round(46*0.9)/16 = 2.5625 / 2 = 1.2813 (unitless) * convert lh 18px / fs 0.75rem > round(18*0.9)/16 = 1 / 0.75 = 1.3333 (unitless) * convert lh 24px / fs 1rem > round(24*0.9)/16 = 1.375 / 1 = 1.375 (unitless) * convert lh 24px (fs unknown) > round(24*0.9)/16 = 1.375rem * convert lh 20px / fs 0.8125rem > round(20*0.9)/16 = 1.125 / 0.8125 = 1.3846 (unitless) * convert lh 34px / fs 1.375rem > round(34*0.9)/16 = 1.9375 / 1.375 = 1.4091 (unitless) * convert lh 22px / fs 1rem > round(22*0.9)/16 = 1.25 / 0.875 = 1.4286 (unitless) * convert lh 26px / fs 1.125rem > round(26*0.9)/16 = 1.4375 / 1.125 = 1.4375 (unitless) * convert lh 1.25rem (17.5px) / fs 0.6875rem > round(17.5*0.9)/16 = 1 / 0.6875 = 1.4545 (unitless) * convert lh 29px / fs 1.0625rem > round(29*0.9)/16 = 1.625 / 1.0625 = 1.5294 (unitless) * convert lh 22px / fs 0.8125rem > round(22*0.9)/16 = 1.25 / 0.8125 = 1.5385 (unitless) * convert lh 24px / fs 0.875rem > round(24*0.9)/16 = 1.375 / 0.875 = 1.5714 (unitless) * convert lh 32px / fs 1.125rem > round(32*0.9)/16 = 1.8125 / 1.125 = 1.6111 (unitless) * convert lh 20px / fs 0.6875rem > round(20*0.9)/16 = 1.125 / 0.6875 = 1.6364 (unitless) * convert lh 26px / fs 1rem > round(26*0.9)/16 = 1.4375 / 0.875 = 1.6429 (unitless) * convert lh 24px / fs 0.875rem > round(24*0.9)/16 = 1.375 / 0.8125 = 1.6923 (unitless) * convert lh 26px / fs 0.8125rem > round(26*0.9)/16 = 1.4375 / 0.8125 = 1.7692 (unitless) * convert lh 22px / fs 0.75rem > round(22*0.9)/16 = 1.25 / 0.6875 = 1.8182 (unitless) * convert lh 24px / fs 0.8125rem > round(24*0.9)/16 = 1.375 / 0.75 = 1.8333 (unitless) * convert lh 28px / fs 0.8125rem > round(28*0.9)/16 = 1.5625 / 0.8125 = 1.9231 (unitless) * convert lh 34px (fs=inherit) > round(34*0.9)/16 = 1.9375rem * convert lh 2.65rem (37.1px) / fs 1rem > round(37.1*0.9)/16 = 2.0625 / 0.8125 = 2.5385 (unitless) * convert lh 52px (fs=dynamic v-bind) > round(52*0.9)/16 = 2.9375rem * convert em line-heights to unitless (numerically identical) * revert all non-mixin @media breakpoint values to main * convert @media min-height 375px: round(375×0.9) = 338 > 338/16 = 21.125rem * convert @media 400px: round(400×0.9) = 360 > 360/16 = 22.5rem * convert @media 500px: round(500×0.9) = 450 > 450/16 = 28.125rem * convert @media 544px: round(544×0.9) = 490 > 490/16 = 30.625rem * convert @media 600px: round(600×0.9) = 540 > 540/16 = 33.75rem * convert @media 618px: round(618×0.9) = 556 > 556/16 = 34.75rem * convert @media 706px: round(706×0.9) = 635 > 635/16 = 39.6875rem * convert @media 767px: round(767×0.9) = 690 > 690/16 = 43.125rem * convert @media 768px: round(768×0.9) = 691 > 691/16 = 43.1875rem * convert @media 840px: round(840×0.9) = 756 > 756/16 = 47.25rem * convert @media 960px: round(960×0.9) = 864 > 864/16 = 54rem * convert @media 1200px: round(1200×0.9) = 1080 > 1080/16 = 67.5rem * convert @media 1260px: round(1260×0.9) = 1134 > 1134/16 = 70.875rem * convert @media 1330px: round(1330×0.9) = 1197 > 1197/16 = 74.8125rem * convert @media 1512px: round(1512×0.9) = 1361 > 1361/16 = 85.0625rem
alvarosabu
requested changes
Mar 10, 2026
alvarosabu
requested changes
Mar 10, 2026
This comment was marked as resolved.
This comment was marked as resolved.
AlexGaillard
approved these changes
Mar 11, 2026
alexlebens
pushed a commit
to alexlebens/infrastructure
that referenced
this pull request
Mar 26, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [directus/directus](https://github.com/directus/directus) | minor | `11.16.1` → `11.17.0` | --- ### Release Notes <details> <summary>directus/directus (directus/directus)</summary> ### [`v11.17.0`](https://github.com/directus/directus/releases/tag/v11.17.0) [Compare Source](directus/directus@v11.16.1...v11.17.0) #####⚠️ Potential Breaking Changes **Added support for importing data in the background ([#​26914](directus/directus#26914 Imports now automatically time out after 1 hour, with a maximum of 20 running concurrently. These limits can be configured via `IMPORT_TIMEOUT` and `IMPORT_MAX_CONCURRENCY`, respectively. **Improved build times using `tsdown`’s `oxc-transform` ([#​26604](directus/directus#26604 Exports previously available from `@directus/types/collab` are now exported directly from `@directus/types` **Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](directus/directus#26826 Potential breaking change: The app UI has been shrunk to 90% of its previous size. Extensions that rely on hardcoded px values or the old 14px root font-size may render incorrectly — all app sizing now uses rem based on the 16px browser default. - **[@​directus/api](https://github.com/directus/api)** - Added support for importing data in the background ([#​26914](directus/directus#26914) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/types](https://github.com/directus/types)** - Improved build times using `tsdown`’s `oxc-transform` ([#​26604](directus/directus#26604) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/specs](https://github.com/directus/specs)** - Updated fast-xml-parser, qs, minimatch, tar, undici, vue-split-panel and flatted dependencies ([#​26951](directus/directus#26951) by [@​br41nslug](https://github.com/br41nslug)) ##### ✨ New Features & Improvements - **[@​directus/app](https://github.com/directus/app)** - Added support for importing data in the background ([#​26914](directus/directus#26914) by [@​Nitwel](https://github.com/Nitwel)) - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](directus/directus#26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - Added deployment provider link on the run detail page, opening deployments directly in Vercel or Netlify dashboards. ([#​26888](directus/directus#26888) by [@​LZylstra](https://github.com/LZylstra)) - Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](directus/directus#26826) by [@​formfcw](https://github.com/formfcw)) - **[@​directus/api](https://github.com/directus/api)** - Added tool search tool for Anthropic AI provider to reduce context usage ([#​26864](directus/directus#26864) by [@​bryantgillespie](https://github.com/bryantgillespie)) - Added support for setting the `secure` attribute on OpenID/OAuth2 cookies via the `AUTH_<PROVIDER>_COOKIE_SECURE` environment variable ([#​26628](directus/directus#26628) by [@​dstockton](https://github.com/dstockton)) - Updated `FilesService.uploadOne` to support an optional `storage` parameter ([#​26882](directus/directus#26882) by [@​gaetansenn](https://github.com/gaetansenn)) - Added AI SDK Devtools middleware support for debugging AI Assistant in development only. Added AI telemetry provider ([#​26678](directus/directus#26678) by [@​bryantgillespie](https://github.com/bryantgillespie)) config for Braintrust and Langfuse, enabling sending traces for observability, usage, and token costs. - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](directus/directus#26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - Added support for Redis namespace control ([#​26943](directus/directus#26943) by [@​dstockton](https://github.com/dstockton)) - **[@​directus/errors](https://github.com/directus/errors)** - Added support for importing data in the background ([#​26914](directus/directus#26914) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/env](https://github.com/directus/env)** - Added support for importing data in the background ([#​26914](directus/directus#26914) by [@​Nitwel](https://github.com/Nitwel)) - Added support for Redis namespace control ([#​26943](directus/directus#26943) by [@​dstockton](https://github.com/dstockton)) - **[@​directus/system-data](https://github.com/directus/system-data)** - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](directus/directus#26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - **[@​directus/constants](https://github.com/directus/constants)** - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](directus/directus#26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - **[@​directus/extensions-sdk](https://github.com/directus/extensions-sdk)** - Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](directus/directus#26826) by [@​formfcw](https://github.com/formfcw)) - **[@​directus/themes](https://github.com/directus/themes)** - Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](directus/directus#26826) by [@​formfcw](https://github.com/formfcw)) ##### 🐛 Bug Fixes & Optimizations - **[@​directus/app](https://github.com/directus/app)** - Fix file renaming ([#​26946](directus/directus#26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Fixed filtering out `preRegisterCheck === false` modules from settings module bar config ([#​26953](directus/directus#26953) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Prevented uncaught exception when v-menu has no tabbable elements ([#​26922](directus/directus#26922) by [@​robluton](https://github.com/robluton)) - Fixed a bug where global draft updates failed for singleton collections ([#​26910](directus/directus#26910) by [@​formfcw](https://github.com/formfcw)) - Refactored "Clear value(s) on save when hidden" condition so it's applied inside a drawer ([#​26925](directus/directus#26925) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Added functionality to duplicate access policies ([#​26889](directus/directus#26889) by [@​robluton](https://github.com/robluton)) - Reduced width of split panel resize handle to prevent scrollbar interference ([#​26908](directus/directus#26908) by [@​robluton](https://github.com/robluton)) - Updated Vite to version 8.0.0 ([#​26887](directus/directus#26887) by [@​Nitwel](https://github.com/Nitwel)) - Corrected field editability for conditional update policies and version items ([#​26815](directus/directus#26815) by [@​HZooly](https://github.com/HZooly)) - Fixed date picker not emitting value after month/year change. ([#​26880](directus/directus#26880) by [@​powerseed](https://github.com/powerseed)) - Fixed inconsistent dropdown arrows in visual editor header bar ([#​26904](directus/directus#26904) by [@​formfcw](https://github.com/formfcw)) - **[@​directus/api](https://github.com/directus/api)** - Added API request counting to telemetry reports. Requests are tracked by HTTP method and cache status. ([#​26738](directus/directus#26738) by [@​connorwinston](https://github.com/connorwinston)) - Fix file renaming ([#​26946](directus/directus#26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Fixed errors during import not propagated while the file is streaming ([#​26881](directus/directus#26881) by [@​Nitwel](https://github.com/Nitwel)) - Added `cache clear` CLI command with `--system` and `--data` flags ([#​26898](directus/directus#26898) by [@​gaetansenn](https://github.com/gaetansenn)) - Improved build times using `tsdown`’s `oxc-transform` ([#​26604](directus/directus#26604) by [@​Nitwel](https://github.com/Nitwel)) - Preserved M2A type info when using named GraphQL fragments ([#​26920](directus/directus#26920) by [@​gaetansenn](https://github.com/gaetansenn)) - Added GraphQL resolver deduplication ([#​26949](directus/directus#26949) by [@​br41nslug](https://github.com/br41nslug)) - Fixed aggregation sanitization ([#​26948](directus/directus#26948) by [@​br41nslug](https://github.com/br41nslug)) - Added cross origin opener policy settings ([#​26947](directus/directus#26947) by [@​br41nslug](https://github.com/br41nslug)) - Fixed revisions not using prepareDelta ([#​26867](directus/directus#26867) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/types](https://github.com/directus/types)** - Fix file renaming ([#​26946](directus/directus#26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Updated `FilesService.uploadOne` to support an optional `storage` parameter ([#​26882](directus/directus#26882) by [@​gaetansenn](https://github.com/gaetansenn)) - Added GraphQL resolver deduplication ([#​26949](directus/directus#26949) by [@​br41nslug](https://github.com/br41nslug)) - Fixed revisions not using prepareDelta ([#​26867](directus/directus#26867) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/env](https://github.com/directus/env)** - Fix file renaming ([#​26946](directus/directus#26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Added support for setting the `secure` attribute on OpenID/OAuth2 cookies via the `AUTH_<PROVIDER>_COOKIE_SECURE` environment variable ([#​26628](directus/directus#26628) by [@​dstockton](https://github.com/dstockton)) - Added AI SDK Devtools middleware support for debugging AI Assistant in development only. Added AI telemetry provider ([#​26678](directus/directus#26678) by [@​bryantgillespie](https://github.com/bryantgillespie)) config for Braintrust and Langfuse, enabling sending traces for observability, usage, and token costs. - Added cross origin opener policy settings ([#​26947](directus/directus#26947) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/ai](https://github.com/directus/ai)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/composables](https://github.com/directus/composables)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/constants](https://github.com/directus/constants)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/errors](https://github.com/directus/errors)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/extensions](https://github.com/directus/extensions)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/extensions-registry](https://github.com/directus/extensions-registry)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/extensions-sdk](https://github.com/directus/extensions-sdk)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Updated Vite to version 8.0.0 ([#​26887](directus/directus#26887) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/format-title](https://github.com/directus/format-title)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/memory](https://github.com/directus/memory)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/pressure](https://github.com/directus/pressure)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/release-notes-generator](https://github.com/directus/release-notes-generator)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Fixed generated build ([#​26959](directus/directus#26959) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/schema](https://github.com/directus/schema)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/schema-builder](https://github.com/directus/schema-builder)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage](https://github.com/directus/storage)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-azure](https://github.com/directus/storage-driver-azure)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-cloudinary](https://github.com/directus/storage-driver-cloudinary)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-gcs](https://github.com/directus/storage-driver-gcs)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-local](https://github.com/directus/storage-driver-local)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-s3](https://github.com/directus/storage-driver-s3)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-supabase](https://github.com/directus/storage-driver-supabase)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/stores](https://github.com/directus/stores)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/system-data](https://github.com/directus/system-data)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/themes](https://github.com/directus/themes)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/update-check](https://github.com/directus/update-check)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/utils](https://github.com/directus/utils)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Preserved M2A type info when using named GraphQL fragments ([#​26920](directus/directus#26920) by [@​gaetansenn](https://github.com/gaetansenn)) - Fixed revisions not using prepareDelta ([#​26867](directus/directus#26867) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/validation](https://github.com/directus/validation)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/sdk](https://github.com/directus/sdk)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](directus/directus#26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Improved build times using `tsdown`’s `oxc-transform` ([#​26604](directus/directus#26604) by [@​Nitwel](https://github.com/Nitwel)) - Fixed function typing in sdk for `date` and `time` fields. ([#​26936](directus/directus#26936) by [@​costajohnt](https://github.com/costajohnt)) ##### 📦 Published Versions - `@directus/app@15.6.0` - `@directus/api@35.0.0` - `@directus/ai@1.3.1` - `@directus/composables@11.2.16` - `@directus/constants@14.3.0` - `create-directus-extension@11.0.32` - `@directus/env@5.7.0` - `@directus/errors@2.3.0` - `@directus/extensions@3.0.22` - `@directus/extensions-registry@3.0.22` - `@directus/extensions-sdk@17.1.0` - `@directus/format-title@12.1.2` - `@directus/memory@3.1.5` - `@directus/pressure@3.0.20` - `@directus/release-notes-generator@2.0.4` - `@directus/schema@13.0.6` - `@directus/schema-builder@0.0.17` - `@directus/specs@13.0.0` - `@directus/storage@12.0.4` - `@directus/storage-driver-azure@12.0.20` - `@directus/storage-driver-cloudinary@12.0.20` - `@directus/storage-driver-gcs@12.0.20` - `@directus/storage-driver-local@12.0.4` - `@directus/storage-driver-s3@​12.1.6` - `@directus/storage-driver-supabase@3.0.20` - `@directus/stores@2.0.1` - `@directus/system-data@4.4.0` - `@directus/themes@1.3.0` - `@directus/types@15.0.0` - `@directus/update-check@13.0.5` - `@directus/utils@13.3.2` - `@directus/validation@2.0.20` - `@directus/sdk@21.2.1` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44OS4zIiwidXBkYXRlZEluVmVyIjoiNDMuODkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZ2l0aHViLXJlbGVhc2VzIiwiaW1hZ2UiXX0=--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/5109 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Shrink the Directus app UI to 90% of its current size by removing the hardcoded 14px root font-size, switching to the
browser default (16px, WCAG-compliant), and converting all CSS px values to rem.
Conversion formulas:
round(px × 0.9) / 16round(rem × 14 × 0.9) / 16emwhere font-size is known,remfallback otherwise (no intermediate rounding)137 commits in 10 groups:
breakpoint-up/breakpoint-down/breakpoint-only), JSBREAKPOINTSas remstrings, all media/container queries use mixins
×0.9)
unit-disallowed-listbanning px withignorePropertiesexceptionscssVar()parsing, replace withgetComputedStyle()for resolved pxvalues
0invar()fallbacks →0remfor validcalc()additionExceptions (kept as px):
border-width,outline-width,outline-offset— hairline renderingbox-shadow— decorative, sub-pixel sensitive--focus-ring-width,--focus-ring-offset— 2px focus ringPotential Risks / Drawbacks
Tested Scenarios
Review Notes / Questions
pnpm buildbefore testing — JS layout constants and breakpoint changes require a rebuildthe combined diff shows
original → correct(notwrong → correct)5eeb080990): usesemwhen the element's font-size is determinable (e.g.0.05emfor 9pxcontext),
remfallback with no intermediate rounding, truncated to 4 decimal places for stylelintnumber-max-precision3637e1a05f):cssVar()+ manual string slicing replaced withgetComputedStyle(el).paddingInlineStartwhich always returns resolved px regardless of declared unit — used in bothprivate-view-main.vueandv-workspace.vued11548f0b0):var(--v-list-item-indent, 0)→var(--v-list-item-indent, 0rem)— unitless0is
<number>not<length>, silently invalidating the entirecalc()and dropping the padding declaration. Same fixapplied to
v-badge.vueoffset vars. Uses0reminstead of0pxto avoid triggering the new stylelint px ban.be6ef675a1): JSBREAKPOINTSconverted to rem strings for VueUseuseBreakpoints; new SCSS mixinsreplace all hardcoded media/container query values
Checklist
Fixes CMS-1920