mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -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() {
|
render() {
|
||||||
const colSize = NUM_COLUMNS / this.props.fieldSets.length;
|
const colSize = NUM_COLUMNS / this.props.fieldSets.length;
|
||||||
return (
|
return (
|
||||||
<div className="row">
|
<div className="row space-2">
|
||||||
{this.props.fieldSets.map((fs) => {
|
{this.props.fieldSets.map((fs) => {
|
||||||
const fieldData = this.getFieldData(fs);
|
const fieldData = this.getFieldData(fs);
|
||||||
return (
|
return (
|
||||||
|
@ -412,3 +412,12 @@ a.list-group-item {
|
|||||||
hr {
|
hr {
|
||||||
margin: 10px 0;
|
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