diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css
index 3e9180b..4a41826 100644
--- a/core/modules/system/css/system.theme.css
+++ b/core/modules/system/css/system.theme.css
@@ -103,15 +103,11 @@ abbr.ajax-changed {
 .form-item select.error {
   border: 2px solid red;
 }
-.button,
-.image-button {
+.form-item + .button,
+.form-item + .image-button,
+.form-actions * + .button,
+.form-actions * + .image-button {
   margin-left: 1em;
-  margin-right: 1em;
-}
-.button:first-child,
-.image-button:first-child {
-  margin-left: 0;
-  margin-right: 0;
 }
 
 /**
