fix
This commit is contained in:
parent
792c51a78b
commit
61544b2494
@ -20,6 +20,7 @@
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -4,7 +4,7 @@ textarea {
|
|||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.head, .head-inner, .head-logo-wrap, .head-items {
|
.head, .head-inner, .head-logo-wrap, .head-items, head-logo {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.head-logo {
|
.head-logo {
|
||||||
|
@ -173,11 +173,11 @@ function renderHeader(SkinContext $ctx, string $theme): string {
|
|||||||
$items = [
|
$items = [
|
||||||
//['url' => '/articles/', 'label' => 'articles'],
|
//['url' => '/articles/', 'label' => 'articles'],
|
||||||
['url' => 'https://files.4in1.ws', 'label' => 'materials'],
|
['url' => 'https://files.4in1.ws', 'label' => 'materials'],
|
||||||
['url' => '/about/', 'label' => 'about'],
|
['url' => '/about/', 'label' => 'about']
|
||||||
['url' => 'javascript:void(0)', 'label' => $theme, 'label_id' => 'theme-switcher-label', 'theme_switcher' => true],
|
|
||||||
];
|
];
|
||||||
if (\admin::isAdmin())
|
if (\admin::isAdmin())
|
||||||
$items[] = ['url' => '/admin/', 'label' => 'admin'];
|
$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
|
// here, items are rendered using for_each, so that there are no gaps (whitespaces) between tags
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user