From 52c144556f4f899f40fcd8e46484ffa4781bed0e Mon Sep 17 00:00:00 2001 From: paulmassen Date: Fri, 12 May 2017 13:23:02 +0200 Subject: [PATCH] Fix tabs inside blueprint overlapping above content (#1115) When adding a tabs fields with tab, margin-top: -2rem causes the new tabs to overlap with content above. ![css](https://cloud.githubusercontent.com/assets/12809352/25991216/d0a8618a-3702-11e7-93bf-b51f095d11cd.png) --- themes/grav/scss/template/_tabs.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/grav/scss/template/_tabs.scss b/themes/grav/scss/template/_tabs.scss index 1d8ae959..086456b3 100644 --- a/themes/grav/scss/template/_tabs.scss +++ b/themes/grav/scss/template/_tabs.scss @@ -3,9 +3,10 @@ $tab-label-height:3.5em; // New JS powered tabs .form-tabs { - .admin-pages & { + .admin-pages &:first-child { margin-top: -2rem; - + } + .admin-pages &{ .tabs-nav { margin-right: 264px;