quick hack to allow logout menu to be right-aligned, to be fixed with a full move to bootstrap5

This commit is contained in:
2022-06-19 23:02:40 +10:00
parent ae84fc080a
commit 3c8dc980b1

View File

@@ -108,8 +108,15 @@
<input class="form-control mr-sm-2" type="search" placeholder="Search by title" aria-label="Search" name="term">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
<div class="nav-item dropdown">
<div class="nav-item dropdown dropdown-menu-right">
<a class="nav-link dropdown-toggle" href="#" id="UserMenu" role="button" data-toggle="dropdown" aria-expanded="false">
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<svg width="20" height="20" fill="currentColor"><use xlink:href="{{url_for('static', filename='icons.svg')}}#user"/></svg>
</a>
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="UserMenu">