This commit is contained in:
E. S. 2023-12-30 23:51:05 +00:00
parent 792c51a78b
commit 61544b2494
3 changed files with 4 additions and 3 deletions

View File

@ -20,6 +20,7 @@
font-size: 16px;
left: 0;
background-color: transparent;
display: inline-block;
&:hover {
border-radius: 4px;

View File

@ -4,7 +4,7 @@ textarea {
-webkit-overflow-scrolling: touch;
}
.head, .head-inner, .head-logo-wrap, .head-items {
.head, .head-inner, .head-logo-wrap, .head-items, head-logo {
display: block;
}
.head-logo {

View File

@ -173,11 +173,11 @@ function renderHeader(SkinContext $ctx, string $theme): string {
$items = [
//['url' => '/articles/', 'label' => 'articles'],
['url' => 'https://files.4in1.ws', 'label' => 'materials'],
['url' => '/about/', 'label' => 'about'],
['url' => 'javascript:void(0)', 'label' => $theme, 'label_id' => 'theme-switcher-label', 'theme_switcher' => true],
['url' => '/about/', 'label' => 'about']
];
if (\admin::isAdmin())
$items[] = ['url' => '/admin/', 'label' => 'admin'];
$items[] = ['url' => 'javascript:void(0)', 'label' => $theme, 'label_id' => 'theme-switcher-label', 'theme_switcher' => true];
// here, items are rendered using for_each, so that there are no gaps (whitespaces) between tags