mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-18 15:50:19 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user