Migrate bare division math to parens division

Bug: T369669
Change-Id: Iadd66c626c0b61bc06db03b1c0a849995ffb87c4
This commit is contained in:
bwang 2024-08-01 13:14:48 -05:00
parent 7520c206dc
commit 6e9047eb12
3 changed files with 3 additions and 3 deletions

View file

@ -5,5 +5,5 @@
background-size: 100%;
width: ~'calc(100% + @{spacing-300})';
margin: -@spacing-100 -@spacing-150 0 -@spacing-150;
aspect-ratio: 2 / 1;
aspect-ratio: ( 2 / 1 );
}

View file

@ -4,5 +4,5 @@
// @max-width-content-container is defined in ems, so the final width depends on font-size,
// but this element is nested in an element with a different font-size. Divide by the
// current font-size to get the intended result (as if font-size wasn't changed).
max-width: @max-width-content-container / @font-size-base;
max-width: ( @max-width-content-container / @font-size-base );
}

View file

@ -12,7 +12,7 @@
transform: translateX( -50% );
.vector-feature-limited-width-clientpref-1 & {
max-width: @max-width-page-container / @font-size-notification;
max-width: ( @max-width-page-container / @font-size-notification );
}
}