Migrate the status messages to the new component
authorAlexander Ebert <ebert@woltlab.com>
Sun, 24 Dec 2023 16:09:18 +0000 (17:09 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 24 Dec 2023 16:09:18 +0000 (17:09 +0100)
wcfsetup/install/files/acp/style/layout.scss
wcfsetup/install/files/acp/templates/statusMessageAcpDashboardBox.tpl

index 7549ac8f19c363a88ba723078bbd3a841d9b3c10..5dad41df6f24641d48dae2ba4c48874debf9e6cc 100644 (file)
@@ -957,6 +957,10 @@ html[data-color-scheme="dark"] {
 
 .acpDashboardBox__content {
        padding: 20px;
+
+       > :first-child {
+               margin-top: 0 !important;
+       }
 }
 
 .acpDashboardBox__keyValueGroup {
index 7f3916ee3c78d350eeaabebec398418ec81ee247..245ae1ba52c1e71074ab31abf6e587ab41ac8d1a 100644 (file)
@@ -1,3 +1,3 @@
 {foreach from=$messages item='status'}
-       <div class="{$status->type->getClassName()}">{@$status->message}</div>
+       <woltlab-core-notice type="{$status->type->getClassName()}">{@$status->message}</woltlab-core-notice>
 {/foreach}