refactor(components): change mobile trigger location
make it "float" closer to the header with `position: absolute`
This commit is contained in:
parent
21dbcde7c8
commit
302d0230db
@ -61,7 +61,7 @@
|
||||
</div>
|
||||
<navbar v-if="!!bp['md']" :inline="false" />
|
||||
</div>
|
||||
<a-button type="primary" @click="() => (nav = !nav)" v-if="!bp['md']">
|
||||
<a-button class="mobileTrigger" type="primary" @click="() => (nav = !nav)" v-if="!bp['md']">
|
||||
<menu-unfold-outlined v-if="nav" />
|
||||
<menu-fold-outlined v-else />
|
||||
</a-button>
|
||||
@ -124,6 +124,9 @@
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.mobileTrigger {
|
||||
position: absolute;
|
||||
}
|
||||
.stat-block {
|
||||
display: inline-block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user