This commit is contained in:
MaysWind
2020-12-10 23:53:55 +08:00
parent f76017b10e
commit a733097011
2 changed files with 12 additions and 9 deletions
+12 -1
View File
@@ -1,5 +1,5 @@
<template>
<f7-sheet :opened="show" @sheet:closed="onSheetClosed">
<f7-sheet :class="{ 'icon-selection-huge-sheet': hugeIconRows }" :opened="show" @sheet:closed="onSheetClosed">
<f7-toolbar>
<div class="left"></div>
<div class="right">
@@ -58,6 +58,9 @@ export default {
}
return ret;
},
hugeIconRows() {
return this.allIconRows.length > 10;
}
},
methods: {
@@ -70,3 +73,11 @@ export default {
}
}
</script>
<style>
@media (min-height: 630px) {
.icon-selection-huge-sheet {
height: 400px;
}
}
</style>
-8
View File
@@ -298,11 +298,3 @@ export default {
}
}
</script>
<style>
@media (min-height: 630px) {
.category-icon-sheet {
height: 400px;
}
}
</style>