refactor(components): change mobile trigger location

make it "float" closer to the header with `position: absolute`
This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2023-12-30 19:12:09 -05:00
parent 21dbcde7c8
commit 302d0230db
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

View File

@ -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;
} }