msc: style adjustments

v0.5
rrr-marble 4 years ago
parent 834be04ebb
commit 78dc0a8fb1

@ -11,7 +11,7 @@
<va-icon name="circle" color="gray" size="small"></va-icon> <va-icon name="circle" color="gray" size="small"></va-icon>
</va-list-item-section> </va-list-item-section>
<va-list-item-section> <va-list-item-section>
<va-list-item-label class="header-item" caption:lines="index+1">{{ header }}</va-list-item-label> <va-list-item-label class="header-item" :lines="2">{{ header }}</va-list-item-label>
</va-list-item-section> </va-list-item-section>
</va-list-item> </va-list-item>
</va-list> </va-list>
@ -68,7 +68,7 @@ export default defineComponent({
"list-view", "list-view",
"mosaic-view", "mosaic-view",
], ],
selectedOption: "mosaic-view" selectedOption: "list-view"
} }
}, },
}) })

@ -23,7 +23,7 @@
<va-card-content> <va-card-content>
<div class="va-table-responsive"> <div class="va-table-responsive">
<table class="va-table va-table--striped"> <table class="va-table va-table--striped detail-table">
<tbody> <tbody>
<tr <tr
v-for="[key, value] of Object.entries(this.itemDetails).filter(([k, _v]) => !(this.hidden.includes(k)))"> v-for="[key, value] of Object.entries(this.itemDetails).filter(([k, _v]) => !(this.hidden.includes(k)))">
@ -138,4 +138,8 @@ export default {
overflow: auto; overflow: auto;
--va-card-display: flex; --va-card-display: flex;
} }
.detail-table {
width: 100%;
}
</style> </style>

@ -65,7 +65,7 @@ export default {
<style lang="css" scoped> <style lang="css" scoped>
.overview { .overview {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
} }

@ -71,9 +71,9 @@ export default {
} }
.main-view { .main-view {
width: 100%; width: 70%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1 0 100vh; flex: 1 0;
} }
</style> </style>
Loading…
Cancel
Save