Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 9cf2def

Browse files
committed
fix(scss): round 4 decimal pages instead of 3 for precise sums
1 parent 1e917a0 commit 9cf2def

19 files changed

+154
-154
lines changed
Binary file not shown.

examples/bootstrap/css-gridish/css/bootstrap-grid-legacy.css

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -261,41 +261,41 @@ body {
261261

262262
.bootstrap-grid {
263263
grid-auto-rows: minmax(1rem, min-content);
264-
grid-template-columns: repeat(auto-fill, 8.3vw); }
264+
grid-template-columns: repeat(auto-fill, 8.33vw); }
265265
.bootstrap-grid.bootstrap-grid--fixed-columns {
266266
grid-template-columns: repeat(auto-fill, 3rem); }
267267
.bootstrap-grid.bootstrap-grid--fluid-rows {
268-
grid-auto-rows: 8.3vw; }
268+
grid-auto-rows: 8.33vw; }
269269
.bootstrap-grid > * {
270270
grid-column: span 12; }
271271

272272
.bootstrap-grid__col--sm--1 {
273-
max-width: 8.3rem;
274-
width: 8.3vw;
273+
max-width: 8.33rem;
274+
width: 8.33vw;
275275
grid-column: span 1; }
276276
.bootstrap-grid__col--sm--1.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
277277
grid-column: span 1; }
278278

279279
.bootstrap-grid--fluid-rows
280280
> .bootstrap-grid__height--sm--1 {
281281
grid-row: span 1;
282-
height: 8.3vw;
283-
min-height: 8.3vw;
284-
max-height: 8.3rem; }
282+
height: 8.33vw;
283+
min-height: 8.33vw;
284+
max-height: 8.33rem; }
285285

286286
.bootstrap-grid__col--sm--2 {
287-
max-width: 16.6rem;
288-
width: 16.6vw;
287+
max-width: 16.66rem;
288+
width: 16.66vw;
289289
grid-column: span 2; }
290290
.bootstrap-grid__col--sm--2.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
291291
grid-column: span 2; }
292292

293293
.bootstrap-grid--fluid-rows
294294
> .bootstrap-grid__height--sm--2 {
295295
grid-row: span 2;
296-
height: 16.6vw;
297-
min-height: 16.6vw;
298-
max-height: 16.6rem; }
296+
height: 16.66vw;
297+
min-height: 16.66vw;
298+
max-height: 16.66rem; }
299299

300300
.bootstrap-grid__col--sm--3 {
301301
max-width: 25rem;
@@ -312,32 +312,32 @@ body {
312312
max-height: 25rem; }
313313

314314
.bootstrap-grid__col--sm--4 {
315-
max-width: 33.3rem;
316-
width: 33.3vw;
315+
max-width: 33.33rem;
316+
width: 33.33vw;
317317
grid-column: span 4; }
318318
.bootstrap-grid__col--sm--4.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
319319
grid-column: span 4; }
320320

321321
.bootstrap-grid--fluid-rows
322322
> .bootstrap-grid__height--sm--4 {
323323
grid-row: span 4;
324-
height: 33.3vw;
325-
min-height: 33.3vw;
326-
max-height: 33.3rem; }
324+
height: 33.33vw;
325+
min-height: 33.33vw;
326+
max-height: 33.33rem; }
327327

328328
.bootstrap-grid__col--sm--5 {
329-
max-width: 41.6rem;
330-
width: 41.6vw;
329+
max-width: 41.66rem;
330+
width: 41.66vw;
331331
grid-column: span 5; }
332332
.bootstrap-grid__col--sm--5.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
333333
grid-column: span 5; }
334334

335335
.bootstrap-grid--fluid-rows
336336
> .bootstrap-grid__height--sm--5 {
337337
grid-row: span 5;
338-
height: 41.6vw;
339-
min-height: 41.6vw;
340-
max-height: 41.6rem; }
338+
height: 41.66vw;
339+
min-height: 41.66vw;
340+
max-height: 41.66rem; }
341341

342342
.bootstrap-grid__col--sm--6 {
343343
max-width: 50rem;
@@ -354,32 +354,32 @@ body {
354354
max-height: 50rem; }
355355

356356
.bootstrap-grid__col--sm--7 {
357-
max-width: 58.3rem;
358-
width: 58.3vw;
357+
max-width: 58.33rem;
358+
width: 58.33vw;
359359
grid-column: span 7; }
360360
.bootstrap-grid__col--sm--7.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
361361
grid-column: span 7; }
362362

363363
.bootstrap-grid--fluid-rows
364364
> .bootstrap-grid__height--sm--7 {
365365
grid-row: span 7;
366-
height: 58.3vw;
367-
min-height: 58.3vw;
368-
max-height: 58.3rem; }
366+
height: 58.33vw;
367+
min-height: 58.33vw;
368+
max-height: 58.33rem; }
369369

370370
.bootstrap-grid__col--sm--8 {
371-
max-width: 66.6rem;
372-
width: 66.6vw;
371+
max-width: 66.66rem;
372+
width: 66.66vw;
373373
grid-column: span 8; }
374374
.bootstrap-grid__col--sm--8.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
375375
grid-column: span 8; }
376376

377377
.bootstrap-grid--fluid-rows
378378
> .bootstrap-grid__height--sm--8 {
379379
grid-row: span 8;
380-
height: 66.6vw;
381-
min-height: 66.6vw;
382-
max-height: 66.6rem; }
380+
height: 66.66vw;
381+
min-height: 66.66vw;
382+
max-height: 66.66rem; }
383383

384384
.bootstrap-grid__col--sm--9 {
385385
max-width: 75rem;
@@ -396,32 +396,32 @@ body {
396396
max-height: 75rem; }
397397

398398
.bootstrap-grid__col--sm--10 {
399-
max-width: 83.3rem;
400-
width: 83.3vw;
399+
max-width: 83.33rem;
400+
width: 83.33vw;
401401
grid-column: span 10; }
402402
.bootstrap-grid__col--sm--10.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
403403
grid-column: span 10; }
404404

405405
.bootstrap-grid--fluid-rows
406406
> .bootstrap-grid__height--sm--10 {
407407
grid-row: span 10;
408-
height: 83.3vw;
409-
min-height: 83.3vw;
410-
max-height: 83.3rem; }
408+
height: 83.33vw;
409+
min-height: 83.33vw;
410+
max-height: 83.33rem; }
411411

412412
.bootstrap-grid__col--sm--11 {
413-
max-width: 91.6rem;
414-
width: 91.6vw;
413+
max-width: 91.66rem;
414+
width: 91.66vw;
415415
grid-column: span 11; }
416416
.bootstrap-grid__col--sm--11.bootstrap-grid > *:not([class*="bootstrap-grid__col"]) {
417417
grid-column: span 11; }
418418

419419
.bootstrap-grid--fluid-rows
420420
> .bootstrap-grid__height--sm--11 {
421421
grid-row: span 11;
422-
height: 91.6vw;
423-
min-height: 91.6vw;
424-
max-height: 91.6rem; }
422+
height: 91.66vw;
423+
min-height: 91.66vw;
424+
max-height: 91.66rem; }
425425

426426
.bootstrap-grid__col--sm--12 {
427427
max-width: 100rem;
@@ -462,11 +462,11 @@ body {
462462
padding-bottom: 15px;
463463
padding-top: 15px; }
464464
.bootstrap-grid {
465-
grid-template-columns: repeat(auto-fill, 8.3rem); }
465+
grid-template-columns: repeat(auto-fill, 8.33rem); }
466466
.bootstrap-grid.bootstrap-grid--fixed-columns {
467467
grid-template-columns: repeat(auto-fill, 8.33333rem); }
468468
.bootstrap-grid.bootstrap-grid--fluid-rows {
469-
grid-auto-rows: 8.3rem; }
469+
grid-auto-rows: 8.33rem; }
470470
[class*="bootstrap-grid__col--"] {
471471
min-width: 0; } }
472472

examples/bootstrap/css-gridish/css/bootstrap-grid-legacy.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bootstrap/css-gridish/css/bootstrap-grid.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ body {
192192

193193
.bootstrap-grid {
194194
grid-auto-rows: minmax(1rem, min-content);
195-
grid-template-columns: repeat(auto-fill, 8.3vw); }
195+
grid-template-columns: repeat(auto-fill, 8.33vw); }
196196
.bootstrap-grid.bootstrap-grid--fixed-columns {
197197
grid-template-columns: repeat(auto-fill, 3rem); }
198198
.bootstrap-grid.bootstrap-grid--fluid-rows {
199-
grid-auto-rows: 8.3vw; }
199+
grid-auto-rows: 8.33vw; }
200200
.bootstrap-grid > * {
201201
grid-column: span 12; }
202202

@@ -333,8 +333,8 @@ body {
333333
padding-bottom: 15px;
334334
padding-top: 15px; }
335335
.bootstrap-grid {
336-
grid-template-columns: repeat(auto-fill, 8.3rem); }
336+
grid-template-columns: repeat(auto-fill, 8.33rem); }
337337
.bootstrap-grid.bootstrap-grid--fixed-columns {
338338
grid-template-columns: repeat(auto-fill, 8.33333rem); }
339339
.bootstrap-grid.bootstrap-grid--fluid-rows {
340-
grid-auto-rows: 8.3rem; } }
340+
grid-auto-rows: 8.33rem; } }

examples/bootstrap/css-gridish/css/bootstrap-grid.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bootstrap/css-gridish/scss/_utilities.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
$container: map-get($breakpoint, breakpoint) * 1rem;
6161
}
6262

63-
$multiplier: round-decimal($columnSpan / $columnTotal, 3, floor);
63+
$multiplier: round-decimal($columnSpan / $columnTotal, 4, floor);
6464

6565
// For IE, we can't have a 0 in the $fluidWidth calc().
6666
@if ($margin == 0) {
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)