From 6d40bf8b56140b79fb721db4c06dc3e9ec6d1aa6 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Mon, 20 Dec 2021 11:59:26 +0100 Subject: [PATCH] adjust margins and padding --- src/components/Article.vue | 6 ++++-- src/components/DictionaryView.vue | 9 +++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/Article.vue b/src/components/Article.vue index ae9c00ac..691ce7ea 100644 --- a/src/components/Article.vue +++ b/src/components/Article.vue @@ -196,8 +196,9 @@ export default { article { position: relative; padding: 24px; - margin: 10px; - + margin-bottom: 10px; + margin-right: 10px; + margin-left: 10px; background-color: #ffffff; } @@ -208,6 +209,7 @@ article { #single_article_container article { border: none; + margin-top: 10px; } diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 5f4c9619..3d37915e 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -576,7 +576,7 @@ main { div.welcome { - margin-top: 10px; + padding-top: 10px; flex-grow: 10; background-image: url('../assets/books.jpg'); background-repeat: no-repeat; @@ -601,6 +601,12 @@ div.welcome article { padding-right: calc((100vw - 1200px) / 2); } +#above_results { + padding-top: 10px; + margin-left: 10px +} + + .error > p { margin-left: 15px; } @@ -675,7 +681,6 @@ li.suggestion { .nav_arrow { vertical-align: top !important; - margin-left: 10px; color: var(--v-primary-base) !important; } -- GitLab