mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
Rearrange the navigation bar on smaller windows
This commit is contained in:
parent
389b7de451
commit
5fe357ee75
3 changed files with 13 additions and 2 deletions
12
view/theme/vier/narrow.css
Normal file
12
view/theme/vier/narrow.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
#nav-user-linklabel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
nav ul li .menu-popup {
|
||||
left: auto;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
nav #search-box #search-text {
|
||||
width: 100px;
|
||||
}
|
|
@ -26,5 +26,3 @@ else if ($style == "dark")
|
|||
$stylecss = file_get_contents('view/theme/vier/dark.css');
|
||||
|
||||
echo $stylecss;
|
||||
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ $baseurl = $a->get_baseurl();
|
|||
$a->theme_info = array();
|
||||
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
<link rel='stylesheet' media='screen and (max-width: 1100px)' href='view/theme/vier/narrow.css' />
|
||||
<script type="text/javascript">
|
||||
|
||||
function insertFormatting(comment,BBcode,id) {
|
||||
|
|
Loading…
Reference in a new issue