diff --git a/docs/assets/css/variation.scss b/docs/assets/css/variation.scss index f1a3d951f..b262c3bcf 100644 --- a/docs/assets/css/variation.scss +++ b/docs/assets/css/variation.scss @@ -73,7 +73,7 @@ // Gives 100% width to all tables table { - @include u-w100pct; + width: 100%; } .a-live__code table { diff --git a/docs/pages/helper-classes-mixins.md b/docs/pages/helper-classes-mixins.md index e9fdf52cb..9afe560b4 100644 --- a/docs/pages/helper-classes-mixins.md +++ b/docs/pages/helper-classes-mixins.md @@ -121,59 +121,67 @@ variation_groups: -
+
.u-w100pct
-
+
.u-w90pct
-
+
.u-w80pct
-
+
.u-w70pct
-
+
.u-w60pct
-
+
.u-w50pct
-
+
.u-w40pct
-
+
.u-w30pct
-
+
.u-w20pct
-
+
.u-w10pct
-
+
.u-w75pct
-
+
.u-w25pct
-
+
+ .u-w65pct +
+ +
+ .u-w15pct +
+ +
.u-w66pct
-
+
.u-w33pct
variation_description: Set the `width` of an element in percentages. diff --git a/packages/cfpb-design-system/src/utilities/utilities.scss b/packages/cfpb-design-system/src/utilities/utilities.scss index 1364408cf..72fca2488 100644 --- a/packages/cfpb-design-system/src/utilities/utilities.scss +++ b/packages/cfpb-design-system/src/utilities/utilities.scss @@ -351,12 +351,8 @@ $ba: Link underline active color. // Width utilities // -@mixin u-w100pct() { - width: 100%; -} - .u-w100pct { - @include u-w100pct; + width: 100%; } .u-w90pct {