- From: Benoît Rouleau via GitHub <noreply@w3.org>
- Date: Sun, 25 Jan 2026 16:14:14 +0000
- To: public-css-archive@w3.org
@romainmenke – No. Privy itself doesn't use layers, and I don't control where it injects its CSS (which doesn't matter because _I_ use layers, so their styles would win regardless of order). My setup is more like this:
```css
@layer base {
* {
position: relative;
min-width: 0;
min-height: 0;
}
/* more base styles */
}
@layer components {
/* component styles */
}
@layer utilities {
/* utility styles */
}
@layer vendor-reset {
#privy-dialog {
&,
&::after,
&::before,
&::backdrop,
&::file-selector-button,
*,
*::after,
*::before,
*::backdrop,
*::file-selector-button {
position: revert;
min-width: revert;
min-height: revert;
}
}
}
```
--
GitHub Notification of comment by benface
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13213#issuecomment-3796883704 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 25 January 2026 16:14:15 UTC