Skip to content

Commit c7028c9

Browse files
committed
fix search form width in mobile view
1 parent d15f5ad commit c7028c9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/app/TopNav.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<template>
22
<div class="d-flex align-items-center mb-2">
3-
<button class="btn navbar-toggler text-white d-md-none" @click="store.showMenu">
3+
<button class="btn navbar-toggler text-white d-md-none me-2" @click="store.showMenu">
44
<Icon icon="nav" />
55
</button>
66

7-
<div class="ms-auto" />
8-
9-
<SearchForm class="mx-2" />
7+
<SearchForm class="flex-grow-1 flex-md-grow-0 ms-auto me-2" />
108

119
<template v-if="store.username">
1210
<b-dropdown variant="link" right no-caret toggle-class="px-0">

src/library/search/SearchForm.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<form class="form-inline" @submit.prevent="search">
2+
<form @submit.prevent="search">
33
<input
44
v-model="query"
55
class="form-control" type="search"

0 commit comments

Comments
 (0)