From a26bf006342397c48cd94a04442208f7201d2c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Sat, 17 Mar 2018 20:05:17 +0100 Subject: [PATCH] Changes to fit the sizing of channelname and title --- server/public/assets/css/style.css | 4 ++-- server/public/assets/js/channel.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/public/assets/css/style.css b/server/public/assets/css/style.css index e1c4ba4c..b4e8fde8 100755 --- a/server/public/assets/css/style.css +++ b/server/public/assets/css/style.css @@ -1742,7 +1742,7 @@ margin-right: 52%; .chan{ padding-right:10px; - max-width:22vw; + /*max-width:22vw;*/ text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.42); } @@ -2668,7 +2668,7 @@ nav ul li:hover, nav ul li.active { } .zbrand{ - max-width: 35%; + /*max-width: 35%;*/ } } diff --git a/server/public/assets/js/channel.js b/server/public/assets/js/channel.js index d68529d9..20274f4e 100644 --- a/server/public/assets/js/channel.js +++ b/server/public/assets/js/channel.js @@ -368,7 +368,7 @@ var Channel = { }, set_title_width: function(start){ - if($(window).width() > 600){ + if($(window).width() + 8 > 600){ var add_width = $(".brand-logo").outerWidth() if(start){ add_width = $(window).width()*0.15;