File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @cloudfour/patterns ' : patch
3+ ---
4+
5+ Prevent border utility classes from accidentally setting ` border-width ` on all edges
Original file line number Diff line number Diff line change 44 * To improve the convenience of using these classes without having to specify
55 * a border style and color every time, we use the `:where` selector to set some
66 * reasonable defaults with no specificity depth.
7+ *
8+ * 1. Set a default `border-width` so legacy utility classes won't immediately
9+ * display visible borders on all sides.
710 */
811
912:where([class ^= ' u-border' ], [class *= ' u-border' ]) {
1013 border-color : var (--theme-color-border-text-group );
1114 border-style : solid ;
15+ border-width : 0 ; /* 1 */
1216}
1317
1418/* *
You can’t perform that action at this time.
0 commit comments