From c05865d73955dd94d6866563b79f0fb463dcab0f Mon Sep 17 00:00:00 2001
From: Ron Lucke <lucke@elan-ev.de>
Date: Thu, 24 Oct 2024 14:06:58 +0000
Subject: [PATCH] Layout durch Wegfall von Schmuckbild uneinheitlich

Closes #4737

Merge request studip/studip!3549
---
 resources/assets/stylesheets/scss/dashboard.scss     | 1 -
 resources/assets/stylesheets/scss/messagebox.scss    | 2 +-
 resources/assets/stylesheets/scss/tables.scss        | 3 ++-
 resources/vue/components/ContentModulesEditTiles.vue | 1 -
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/resources/assets/stylesheets/scss/dashboard.scss b/resources/assets/stylesheets/scss/dashboard.scss
index e353f72a0e4..fba2413b28c 100644
--- a/resources/assets/stylesheets/scss/dashboard.scss
+++ b/resources/assets/stylesheets/scss/dashboard.scss
@@ -124,7 +124,6 @@ form div.files-search {
         display: flex;
         align-items: stretch;
         width: 100%;
-        margin-top: 1ex;
         margin-bottom: 15px;
 
         input[type="text"] {
diff --git a/resources/assets/stylesheets/scss/messagebox.scss b/resources/assets/stylesheets/scss/messagebox.scss
index 7f77f0fcf32..7d0faa8f20d 100644
--- a/resources/assets/stylesheets/scss/messagebox.scss
+++ b/resources/assets/stylesheets/scss/messagebox.scss
@@ -4,7 +4,7 @@ div.messagebox {
     border: 2px solid;
     font-size: 12pt;
     font-weight: bold;
-    margin: 5px 0;
+    margin: 0 0 5px 0;
     padding: 15px 15px 15px 55px;
     position: relative;
     text-align: left;
diff --git a/resources/assets/stylesheets/scss/tables.scss b/resources/assets/stylesheets/scss/tables.scss
index 85e09f3f8c4..ee551125c14 100644
--- a/resources/assets/stylesheets/scss/tables.scss
+++ b/resources/assets/stylesheets/scss/tables.scss
@@ -488,6 +488,7 @@ table.default {
         padding: 0 5px 5px 5px;
         color: var(--headings-color);
         font-size: $font-size-caption;
+        line-height: $font-size-caption;
         text-align: left;
 
         &.nowrap {
@@ -636,7 +637,7 @@ table.default {
             margin-bottom: 5px;
 
             img.text-bottom {
-                vertical-align: bottom;
+                vertical-align: middle;
             }
         }
 
diff --git a/resources/vue/components/ContentModulesEditTiles.vue b/resources/vue/components/ContentModulesEditTiles.vue
index ae9324c4e7a..8a7d1d18098 100644
--- a/resources/vue/components/ContentModulesEditTiles.vue
+++ b/resources/vue/components/ContentModulesEditTiles.vue
@@ -193,7 +193,6 @@ export default {
     flex-direction: row;
     background-color: var(--white);
     border-left: 1px solid var(--dark-gray-color-60);
-    margin: 2px 0;
 
     &.visibility-visible {
         border-left-color: var(--green);
-- 
GitLab