From b28968e4252c58c60a2172a00478a9c77673833b Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Thu, 5 Sep 2019 10:08:33 -0400 Subject: [PATCH] fix fsfbar overflow and align --- templates/html.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/html.html.twig b/templates/html.html.twig index a1ea809..e84ec32 100644 --- a/templates/html.html.twig +++ b/templates/html.html.twig @@ -88,11 +88,11 @@ #fsf-bar { background:#800000; box-sizing:content-box; display:flex; overflow: hidden; flex-direction:column-reverse; align-items:center;} #fsf-bar * { margin:0; padding:0; font: 15px sans-serif; text-decoration: none; color: #FFF; vertical-align:baseline; } #fsf-bar-menu { overflow:hidden; width: 100%; } -#fsf-bar ul { height:40px; overflow:auto; margin:10px 0px 0px 0px; list-style:none; display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: center; width: auto; max-width: none; } +#fsf-bar ul { height:40px; overflow:auto; margin:0px; list-style:none; display:flex; flex-flow:row nowrap; justify-content:flex-start; align-items:center; width:auto; max-width:none; } #fsf-bar li{ display: list-item; padding: 0 10px; } #fsf-bar a:hover { color: #DDD; text-decoration: underline; } #fsf-bar #fsf-bar-login { color: #edd400; padding: 0 15px; font-style: italic; } #fsf-bar .fsf-bar-icon{ background: url("https://static.fsf.org/nosvn/logos/FSF_logo_white_small_text.svg") no-repeat; background-size:200px; text-indent: -1000px; overflow: hidden; display: block; height:25px; padding-right: 60px;} #fsf-bar .fsf-bar-content{height:30px;width:95%;max-width:1150px;padding:0;margin:0 auto;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;} -@media screen and (min-width: 55em) { #fsf-bar .fsf-bar-icon{width: 220px;} } +@media screen and (min-width: 55em) { #fsf-bar .fsf-bar-icon{width: 240px;} #fsf-bar ul {float: right;} } -- 2.25.1