diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css
index f397a5a..f92fb2f 100644
--- a/core/modules/system/css/system.theme.css
+++ b/core/modules/system/css/system.theme.css
@@ -518,6 +518,7 @@ ul.tabs {
   border: 1px solid;
   border-width: 1px 1px 1px 0;  /* LTR */
   border-radius: 2px;
+  margin-left: 8px; /* LTR */
   padding: 15px 20px 15px 35px; /* LTR */
   word-wrap: break-word;
   overflow-wrap: break-word;
@@ -525,6 +526,7 @@ ul.tabs {
 [dir="rtl"] .messages {
   border-width: 1px 0 1px 1px;
   background-position-x: 99%;
+  margin-right: 8px;
   padding-left: 20px;
   padding-right: 35px;
   text-align: right;
@@ -547,13 +549,11 @@ ul.tabs {
   background-image: url(../../../misc/icons/73b355/check.svg);
   background-position: 12px 19px;  /* LTR */
   box-shadow: -8px 0 0 #77b259; /* LTR */
-  margin-left: 8px; /* LTR */
 }
 [dir="rtl"] .messages--status {
   background-position: 99.3% 19px;
   border-color: #c9e1bd transparent #c9e1bd #c9e1bd;
   box-shadow: 8px 0 0 #77b259;
-  margin-right: 8px;
 }
 .no-svg .messages--status {
   background-image: url(../../../misc/icons/73b355/check.png);
