@@ -71,6 +74,16 @@ export default class Layout extends PureComponent { { !noRightSidebar &&
+ + { + !!tabs && + +
+ +
+
+ } +
{children}
diff --git a/app/javascript/styles/global.css b/app/javascript/styles/global.css index d5f7bf82..518d8d60 100644 --- a/app/javascript/styles/global.css +++ b/app/javascript/styles/global.css @@ -464,6 +464,7 @@ body { .width250PX { width: 240px; } .width240PX { width: 240px; } .width160PX { width: 160px; } +.width84PX { width: 84px; } .width72PX { width: 72px; } .width50PX { width: 50px; } .width20PX { width: 20px; } @@ -536,19 +537,19 @@ body { @media (min-width: 992px) and (max-width: 1080px) { .width1015PX { - width: 850px; + width: 780px; } .width645PX { - width: 525px; + width: 470px; } .width340PX { - width: 300px; + width: 285px; } .width240PX { - width: 100px; + width: 170px; } .width1255PX { @@ -813,7 +814,7 @@ body { } .highlightedComment { - background-color: rgba(224, 234, 66, .3); + background-color: rgba(224, 234, 66, .25); } .searchInput::placeholder { diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 9c3a57dd..405af443 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -2,7 +2,8 @@ %html{ lang: I18n.locale } %head %meta{ charset: 'utf-8' }/ - %meta{ name: 'viewport', content: 'width=device-width, initial-scale=1', 'viewport-fit': 'cover' }/ + + %meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no', 'viewport-fit': 'cover' }/ - if cdn_host? %link{ rel: 'dns-prefetch', href: cdn_host }/