Skip to content

Commit 918673e

Browse files
committed
Don't reset borders in SUIT fork; reset all radiuses to 0
Latest Chrome adds default border radius to buttons, WOW.
1 parent 6f6f1cc commit 918673e

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,6 @@ pre {
490490

491491
button {
492492
background: transparent;
493-
border: 0;
494493
padding: 0;
495494
}
496495

@@ -505,15 +504,10 @@ button:focus {
505504
}
506505

507506
fieldset {
508-
border: 0;
509507
margin: 0;
510508
padding: 0;
511509
}
512510

513-
iframe {
514-
border: 0;
515-
}
516-
517511
/**
518512
* Suppress the focus outline on elements that cannot be accessed via keyboard.
519513
* This prevents an unwanted focus outline from appearing around elements that
@@ -534,6 +528,7 @@ iframe {
534528
border-width: 0;
535529
border-style: solid;
536530
border-color: #dae4e9;
531+
border-radius: 0;
537532
}
538533

539534
textarea {

css/preflight.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,6 @@ pre {
490490

491491
button {
492492
background: transparent;
493-
border: 0;
494493
padding: 0;
495494
}
496495

@@ -505,15 +504,10 @@ button:focus {
505504
}
506505

507506
fieldset {
508-
border: 0;
509507
margin: 0;
510508
padding: 0;
511509
}
512510

513-
iframe {
514-
border: 0;
515-
}
516-
517511
/**
518512
* Suppress the focus outline on elements that cannot be accessed via keyboard.
519513
* This prevents an unwanted focus outline from appearing around elements that
@@ -534,6 +528,7 @@ iframe {
534528
border-width: 0;
535529
border-style: solid;
536530
border-color: config('borderColors.default', currentColor);
531+
border-radius: 0;
537532
}
538533

539534
textarea { resize: vertical; }

0 commit comments

Comments
 (0)