Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
drop screen and
  • Loading branch information
RobinMalfait committed Jan 21, 2025
commit d5f6840cd78c71273aeb1538eebef7c810c6137a
2 changes: 1 addition & 1 deletion packages/tailwindcss/src/utilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14599,7 +14599,7 @@ test('outline', async () => {
outline-style: none;
}

@media screen and (forced-colors: active) {
@media (forced-colors: active) {
.outline-hidden {
outline-offset: 2px;
outline: 2px solid #0000;
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwindcss/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3853,7 +3853,7 @@ export function createUtilities(theme: Theme) {
utilities.static('outline-hidden', () => {
return [
decl('outline-style', 'none'),
atRule('@media', 'screen and (forced-colors: active)', [
atRule('@media', '(forced-colors: active)', [
decl('outline', '2px solid transparent'),
decl('outline-offset', '2px'),
]),
Expand Down