mirror of
https://github.com/pinry/pinry.git
synced 2025-11-15 17:35:50 +01:00
Refactor: Make pin preview width a variable
This commit is contained in:
committed by
Isaac Bythewood
parent
5ba4e9a67b
commit
5282ed5e53
@@ -171,8 +171,10 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/* grid */
|
||||
@import 'utils/pin';
|
||||
|
||||
.grid-sizer,
|
||||
.grid-item { width: 240px; }
|
||||
.grid-item { width: $pin-preview-width; }
|
||||
.grid-item {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
@@ -216,8 +216,10 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/* grid */
|
||||
@import 'utils/pin';
|
||||
|
||||
.grid-sizer,
|
||||
.grid-item { width: 240px; }
|
||||
.grid-item { width: $pin-preview-width; }
|
||||
.grid-item {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
1
pinry-spa/src/components/utils/pin.scss
Normal file
1
pinry-spa/src/components/utils/pin.scss
Normal file
@@ -0,0 +1 @@
|
||||
$pin-preview-width: 240px;
|
||||
Reference in New Issue
Block a user