fix: responsiveness

This commit is contained in:
2025-03-08 20:37:00 +01:00
parent 13a9baa175
commit 744804d445
3 changed files with 9 additions and 6 deletions
+5 -1
View File
@@ -631,11 +631,15 @@ export default defineComponent({
display: grid;
gap: 0.5em;
grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
button {
width: 100%;
&[data-button-tooltip] {
font-size: 0.85em;
}
input {
opacity: 0;
width: 0;
+3 -2
View File
@@ -11,7 +11,6 @@
<li
v-for="(stockString, stockName) in store.storageStockData"
:key="stockName"
:data-current="store.chosenStorageStockName == stockName"
>
<div class="storage-item-top">
<button class="btn btn--text btn-name" @click="chooseStorageStock(stockName)">
@@ -73,7 +72,6 @@ export default defineComponent({
data: () => ({
store: useStore(),
expandedEntries: [] as string[],
}),
@@ -93,6 +91,7 @@ export default defineComponent({
try {
this.loadStockFromString(this.store.storageStockData[stockName]);
this.store.chosenStorageStockName = stockName;
this.$router.push('/');
} catch (error) {
console.log(error);
}
@@ -117,6 +116,8 @@ export default defineComponent({
.storage-list-wrapper {
position: relative;
height: 730px;
overflow: auto;
}
ul.storage-list {