Replace Sass variables with CSS custom properties - $container-gap-width and $container-border-width (#10776)
* Replace a Sass variable with a CSS custom property - $container-gap-width * Replace a Sass variable with a CSS custom property - $container-border-width
This commit is contained in:
@@ -187,9 +187,9 @@ limitations under the License.
|
||||
|
||||
padding-bottom: 10px;
|
||||
|
||||
margin: $container-gap-width;
|
||||
margin: var(--container-gap-width);
|
||||
/* The left side gap is fully handled by this margin. To prohibit bleeding on webkit browser. */
|
||||
margin-right: calc($container-gap-width / 2);
|
||||
margin-right: calc(var(--container-gap-width) / 2);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user