Administration: use shorthand css properties to improve readability

Consolidating `border`, `padding`, and `margin` instances where the shorthand can be used to improve readability.

Props ankitmaru, audrasjb, sabernhardt, mukesh27, hellofromTonya.
Fixes #52148.



git-svn-id: https://develop.svn.wordpress.org/trunk@50162 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin
2021-02-02 20:26:48 +00:00
parent 03e81107ad
commit c42e99b3c5
7 changed files with 9 additions and 21 deletions
+2 -4
View File
@@ -2700,9 +2700,8 @@ div.action-links {
left: 0;
margin-top: 10px;
margin-right: 250px; /* FYI box */
padding: 10px 26px;
padding: 10px 26px 99999px; /* equal height column trick */
margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */
padding-bottom: 99999px; /* equal height column trick */
}
#section-holder .notice {
@@ -2718,9 +2717,8 @@ div.action-links {
position: relative;
top: 0;
right: 0;
padding: 16px;
padding: 16px 16px 99999px; /* equal height column trick */
margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */
padding-bottom: 99999px; /* equal height column trick */
width: 217px;
border-left: 1px solid #dcdcde;
background: #f6f7f7;