fix lang selection on sticky-header

This commit is contained in:
Jonas Heinrich 2020-05-30 11:11:53 +02:00
parent 540498a0b2
commit 9989413cd5
2 changed files with 13 additions and 3 deletions

View file

@ -44,7 +44,7 @@ Can be easily tested using Docker:
``` ```
make docker_up make docker_up
``` ```
The Wordpress instance is then available in the local network at http://localhost:8080/ . The Wordpress instance is then available in the local network at http://localhost:8080/ . If you are using nftables firewall, consider a [migration to iptables-nft](https://wiki.archlinux.org/index.php/Nftables#Working_with_Docker) to keep Docker working.
## Reporting bugs ## Reporting bugs
You can report bugs in the public gitlab repository [here](https://git.project-insanity.org/onny/nextcloud-app-radio/issues) and for discussion you can find a section for the app in the offical Nextcloud forums [here](https://help.nextcloud.com/c/apps/radio). You can report bugs in the public gitlab repository [here](https://git.project-insanity.org/onny/nextcloud-app-radio/issues) and for discussion you can find a section for the app in the offical Nextcloud forums [here](https://help.nextcloud.com/c/apps/radio).

View file

@ -141,14 +141,20 @@ header:not(.sticky-header) .header-button-container {
} }
.header-lang-small { .header-lang-small {
display: flex; display: none;
flex-direction: row; flex-direction: row;
order: 1; order: 1;
margin: 0 1rem; margin: 0 1rem;
display: none;
color: #333333; color: #333333;
} }
header.sticky-header .header-lang-small {
display: flex;
order: 4;
margin-left: 2.5rem;
margin-right: -1rem;
}
.header-lang-small .icon { .header-lang-small .icon {
margin-top: 0.05rem; margin-top: 0.05rem;
width: 1.5rem; width: 1.5rem;
@ -217,6 +223,10 @@ header:not(.sticky-header) .header-button-container {
font-size: 14px; font-size: 14px;
} }
header.sticky-header .header-lang {
display: none;
}
.header-lang li { .header-lang li {
border-left: 1px solid #333333; border-left: 1px solid #333333;
line-height: 1; line-height: 1;