[WIP]:
- line jump works - overflow scrolling doesnt work
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
class="item"
|
class="item"
|
||||||
:key="item.id">
|
:key="item.id">
|
||||||
<div class="view">
|
<div class="view">
|
||||||
<label @dblclick="editItem(item)">{{ item.name }} {{ item.quantity }}{{ item.unit }}</label>
|
<label @dblclick="editItem(item)">{{ item.name.toUpperCase() }} {{ item.quantity }}{{ item.unit.toLowerCase() }}</label>
|
||||||
<button class="destroy" @click="removeItem(item)"></button>
|
<button class="destroy" @click="removeItem(item)"></button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@@ -268,6 +268,7 @@ export default Items
|
|||||||
|
|
||||||
.item-section{
|
.item-section{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
font-size: 1vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-list{
|
.item-list{
|
||||||
@@ -275,9 +276,9 @@ export default Items
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: 12vh;
|
grid-gap: 12vh;
|
||||||
top: -60vh;
|
top: -60vh;
|
||||||
left: -47vw;
|
left: -44.33vw;
|
||||||
margin-left: 10vh;
|
margin-left: 10vh;
|
||||||
grid-template-columns: repeat(7, 2vh);
|
grid-template-columns: repeat(12, 2vh);
|
||||||
|
|
||||||
.item{
|
.item{
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -289,6 +290,7 @@ export default Items
|
|||||||
padding: 5vh;
|
padding: 5vh;
|
||||||
background: darkslategrey;
|
background: darkslategrey;
|
||||||
box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4);
|
box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4);
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view{
|
.view{
|
||||||
@@ -316,21 +318,14 @@ export default Items
|
|||||||
border: solid black 0.1vh;
|
border: solid black 0.1vh;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 3vh;
|
width: 3vh;
|
||||||
top: -0.10vh;
|
top: -0.05vh;
|
||||||
left: -0.1vh;
|
left: -0.1vh;
|
||||||
transform: rotate(-90deg);
|
transform: rotate(-90deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.destroy:hover{
|
.destroy:hover{
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.destroyOther:hover{
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user