From 1b69e0606f4680303068d9b430d15034506a767d Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Mon, 10 Aug 2015 13:22:50 +0200 Subject: [PATCH] made the side bar pixel accurate --- app/assets/stylesheets/layout/_breadcrumb.sass | 2 +- app/assets/stylesheets/layout/_main_menu.sass | 4 ++-- app/assets/stylesheets/layout/_top_menu.sass | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/layout/_breadcrumb.sass b/app/assets/stylesheets/layout/_breadcrumb.sass index cbf846b5ed..98a9b46091 100644 --- a/app/assets/stylesheets/layout/_breadcrumb.sass +++ b/app/assets/stylesheets/layout/_breadcrumb.sass @@ -36,7 +36,7 @@ background: none repeat scroll 0 0 $breadcrumb-bg-color border: none border-bottom: 1px solid $breadcrumb-border-color - margin: 0 0 0 $main-menu-width + margin: 0 0 0 ($main-menu-width - $main-menu-item-border-width) width: auto overflow: hidden position: relative diff --git a/app/assets/stylesheets/layout/_main_menu.sass b/app/assets/stylesheets/layout/_main_menu.sass index 27ee5433d7..59035415f9 100644 --- a/app/assets/stylesheets/layout/_main_menu.sass +++ b/app/assets/stylesheets/layout/_main_menu.sass @@ -177,8 +177,8 @@ $toggler-width: 40px #toggle-project-menu border: $main-menu-item-border-width solid $main-menu-item-border-color border-left: none - height: $main-menu-item-height - $main-menu-item-border-width - width: $main-menu-width - $main-menu-item-border-width + height: $main-menu-item-height + width: $main-menu-width background-color: $main-menu-bg-color @include default-transition &:hover diff --git a/app/assets/stylesheets/layout/_top_menu.sass b/app/assets/stylesheets/layout/_top_menu.sass index 70866b62cb..d48ee35d91 100644 --- a/app/assets/stylesheets/layout/_top_menu.sass +++ b/app/assets/stylesheets/layout/_top_menu.sass @@ -28,7 +28,7 @@ #logo float: left - width: $main-menu-width - $main-menu-border-width + width: $main-menu-width height: $header-height background-color: $header-logo-bg-color .home-link