Varia: Add margins properly for left/right aligned elements.

This commit is contained in:
Allan Cole 2019-08-20 16:37:23 -04:00
parent 8b71757869
commit 58dcc2363b
3 changed files with 10 additions and 3 deletions

View file

@ -6,6 +6,8 @@
/*rtl:ignore*/
float: left;
margin-top: 0;
/*rtl:ignore*/
margin-right: #{map-deep-get($config-global, "spacing", "horizontal")};
margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};
}
@ -20,9 +22,10 @@
/*rtl:ignore*/
float: right;
/*rtl:ignore*/
margin-left: #{map-deep-get($config-global, "spacing", "horizontal")};
margin-top: 0;
margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};
/*rtl:ignore*/
margin-left: #{map-deep-get($config-global, "spacing", "horizontal")};
}
/**

View file

@ -1926,6 +1926,7 @@ table th,
text-align: left;
float: left;
margin-top: 0;
margin-right: 16px;
margin-bottom: 32px;
}
@ -1937,9 +1938,9 @@ table th,
.alignright {
float: right;
margin-left: 16px;
margin-top: 0;
margin-bottom: 32px;
margin-left: 16px;
}
/**

View file

@ -1928,6 +1928,8 @@ table th,
/*rtl:ignore*/
float: left;
margin-top: 0;
/*rtl:ignore*/
margin-right: 16px;
margin-bottom: 32px;
}
@ -1941,9 +1943,10 @@ table th,
/*rtl:ignore*/
float: right;
/*rtl:ignore*/
margin-left: 16px;
margin-top: 0;
margin-bottom: 32px;
/*rtl:ignore*/
margin-left: 16px;
}
/**