0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

Merge pull request #754 from logto-io/charles-log-2344-remove-second-param-from-unit-mixin

refactor(console): remove second param from 'unit' mixin
This commit is contained in:
Charles Zhao 2022-05-07 16:39:39 +08:00 committed by GitHub
commit 631a8f0f49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
@use '@/scss/dimensions' as dim;
@function unit($factor: 1, $unit: 'px') {
@return #{$factor * 4}#{$unit};
@function unit($factor: 1) {
@return #{$factor * 4}px;
}
@mixin flex-column {