mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
increase space between fieldsset rows (#1629)
This commit is contained in:
parent
b961c95121
commit
2c068a1a15
@ -29,7 +29,7 @@ export default class FieldSetRow extends React.Component {
|
||||
render() {
|
||||
const colSize = NUM_COLUMNS / this.props.fieldSets.length;
|
||||
return (
|
||||
<div className="row">
|
||||
<div className="row space-2">
|
||||
{this.props.fieldSets.map((fs) => {
|
||||
const fieldData = this.getFieldData(fs);
|
||||
return (
|
||||
|
@ -412,3 +412,12 @@ a.list-group-item {
|
||||
hr {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
// generate space-n classes for vertical spacing
|
||||
.space-loop(@counter) when (@counter > 0) {
|
||||
.space-loop((@counter - 1)); // next iteration
|
||||
.space-@{counter} {
|
||||
margin-bottom: (10px * @counter); // code for each iteration
|
||||
}
|
||||
}
|
||||
.space-loop(6);
|
||||
|
Loading…
Reference in New Issue
Block a user