From e67e2903252a9e54fb24ba25f3728c33abecdac9 Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Sun, 18 Feb 2018 14:30:45 +0100 Subject: [PATCH] Romoved unwanted space and margin in sidebar header --- front/src/components/Sidebar.vue | 6 +----- front/src/components/audio/SearchBar.vue | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue index 6aaf04c42a..df9eb00ec2 100644 --- a/front/src/components/Sidebar.vue +++ b/front/src/components/Sidebar.vue @@ -6,8 +6,7 @@ <i class="logo bordered inverted orange big icon"> <logo class="logo"></logo> </i> - </router-link> - <span + </router-link><span slot="after" @click="isCollapsed = !isCollapsed" :class="['ui', 'basic', 'big', {'inverted': isCollapsed}, 'orange', 'icon', 'collapse', 'button']"> @@ -224,9 +223,6 @@ $sidebar-color: #1B1C1D; .ui.search { display: block; - > a { - margin-right: 1.5rem; - } .collapse.button { margin-right: 0.5rem; margin-top: 0.5rem; diff --git a/front/src/components/audio/SearchBar.vue b/front/src/components/audio/SearchBar.vue index 56a8e77be1..988ff0a7d7 100644 --- a/front/src/components/audio/SearchBar.vue +++ b/front/src/components/audio/SearchBar.vue @@ -1,7 +1,6 @@ <template> <div class="ui fluid category search"> - <slot></slot> - <div class="ui icon input"> + <slot></slot><div class="ui icon input"> <input class="prompt" placeholder="Search for artists, albums, tracks..." type="text"> <i class="search icon"></i> </div> -- GitLab