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>
|
</div>
|
||||||
<navbar v-if="!!bp['md']" :inline="false" />
|
<navbar v-if="!!bp['md']" :inline="false" />
|
||||||
</div>
|
</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-unfold-outlined v-if="nav" />
|
||||||
<menu-fold-outlined v-else />
|
<menu-fold-outlined v-else />
|
||||||
</a-button>
|
</a-button>
|
||||||
@ -124,6 +124,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.mobileTrigger {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
.stat-block {
|
.stat-block {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user