Shrink user menu’s button and application title
They were too big now that we have the main navigation in the header. This is part of #98.
This commit is contained in:
parent
6ef551a846
commit
36423c8636
|
@ -528,8 +528,8 @@ ul[role="menu"].action-menu li i[class^='ri-'] {
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile-menu summary {
|
#profile-menu summary {
|
||||||
width: 7rem;
|
width: 4.5rem;
|
||||||
height: 7rem;
|
height: 4.5rem;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="filters-visible">
|
<body class="filters-visible">
|
||||||
<header>
|
<header>
|
||||||
<h1><img src="/static/numerus.svg" alt="Numerus" width="261" height="33"></h1>
|
<h1><img src="/static/numerus.svg" alt="Numerus" width="168" height="21"></h1>
|
||||||
<nav aria-label="{{( pgettext "Main" "title" )}}" data-hx-target="main" data-hx-boost="true">
|
<nav aria-label="{{( pgettext "Main" "title" )}}" data-hx-target="main" data-hx-boost="true">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a{{if requestURIMatches (companyURI "/") }} aria-current="page"{{ end }} href="{{ companyURI "/" }}">{{( pgettext "Dashboard" "nav" )}}</a></li>
|
<li><a{{if requestURIMatches (companyURI "/") }} aria-current="page"{{ end }} href="{{ companyURI "/" }}">{{( pgettext "Dashboard" "nav" )}}</a></li>
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
<details id="profile-menu" class="menu">
|
<details id="profile-menu" class="menu">
|
||||||
<summary aria-label="{{( gettext "Profile menu" )}}">
|
<summary aria-label="{{( gettext "Profile menu" )}}">
|
||||||
<i class="ri-user-6-line ri-3x"></i>
|
<i class="ri-user-6-line ri-2x"></i>
|
||||||
</summary>
|
</summary>
|
||||||
<ul role="menu" class="action-menu" data-hx-push-url="false" data-hx-swap="beforeend">
|
<ul role="menu" class="action-menu" data-hx-push-url="false" data-hx-swap="beforeend">
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
|
|
Loading…
Reference in New Issue