From ee987645087951cf75ebe4da17a3687662619f87 Mon Sep 17 00:00:00 2001 From: Brandon McConnell Date: Fri, 9 May 2025 03:35:10 -0400 Subject: [PATCH] Add sensible default styles for `[popover]` --- packages/tailwindcss/preflight.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/tailwindcss/preflight.css b/packages/tailwindcss/preflight.css index 0976a40d4924..1a175cf9ec33 100644 --- a/packages/tailwindcss/preflight.css +++ b/packages/tailwindcss/preflight.css @@ -15,6 +15,12 @@ border: 0 solid; /* 3 */ } +[popover] { + margin: auto; + background-color: transparent; + color: inherit; +} + /* 1. Use a consistent sensible line-height in all browsers. 2. Prevent adjustments of font size after orientation changes in iOS.