Skip to content

Commit e53693f

Browse files
committed
scss precision tweak
1 parent 09fbacb commit e53693f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Better yet, here is a SCSS code snippet, you can use sites like [sassmeister.com
237237
```scss
238238
$columns: 20;
239239
@function fixed($float) {
240-
@return round($float * 100) / 100; // total 4 digits being %
240+
@return round($float * 1000) / 1000; // total 2+3 digits being %
241241
}
242242
.gs-#{$columns} > .grid-stack-item {
243243

0 commit comments

Comments
 (0)