Varia: Add margins properly for left/right aligned elements.
This commit is contained in:
parent
8b71757869
commit
58dcc2363b
3 changed files with 10 additions and 3 deletions
|
@ -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")};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue