mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 01:45:51 +01:00
Fix: Add pins id for pins elements / fix padding for pins
This commit is contained in:
committed by
Isaac Bythewood
parent
6df4a90d8a
commit
b46cc6b2d3
@@ -178,8 +178,6 @@ textarea {
|
|||||||
/* Start Pins */
|
/* Start Pins */
|
||||||
#pins {
|
#pins {
|
||||||
top: 80px;
|
top: 80px;
|
||||||
padding-left: 60px;
|
|
||||||
padding-right: 60px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pin {
|
.pin {
|
||||||
|
|||||||
@@ -177,6 +177,7 @@ Vue.component('pin-container', {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
window.addEventListener("resize", this.reflow, {})
|
||||||
},
|
},
|
||||||
mounted: function() {
|
mounted: function() {
|
||||||
this.reflow();
|
this.reflow();
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% verbatim %}
|
{% verbatim %}
|
||||||
|
|
||||||
<script type="text/x-template" id="pin-container-template">
|
<script type="text/x-template" id="pin-container-template">
|
||||||
<div>
|
<div id="pins">
|
||||||
<template v-for="(item, index) in pins">
|
<template v-for="(item, index) in pins">
|
||||||
<pin
|
<pin
|
||||||
:pin="item"
|
:pin="item"
|
||||||
|
|||||||
Reference in New Issue
Block a user