Skip to content

Commit

Permalink
fix spacing on only
Browse files Browse the repository at this point in the history
  • Loading branch information
metasyn committed Jul 25, 2021
1 parent 1267820 commit 8df5c57
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion dist/app.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -67831,7 +67831,8 @@ var DateSelector = function (_Component) {
_react2.default.createElement(
'button',
{ onClick: this.handleOnly, value: date },
'only'
' ',
'(only)'
)
);
}
Expand Down
9 changes: 5 additions & 4 deletions dist/style.bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions src/css/stylish.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ body {
}

#date-selector-container button {
margin-top: 0px;
float: right;
color: #888;
margin-right: 5%;
}

#date-selector-container button:before {
content: " "
}

/* Mapbox GL Stuff */
Expand Down Expand Up @@ -174,7 +175,7 @@ body {
}

#date-selector-container {
grid-template-columns: unset;
grid-template-columns: unset;
}


Expand Down
3 changes: 1 addition & 2 deletions src/js/components/dates/DateSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class DateSelector extends Component {
onChange={this.handleChange}
/>
{formatDate(date)}
<button onClick={this.handleOnly} value={date}>only</button>
<button onClick={this.handleOnly} value={date}>{' '}(only)</button>
</div>
);
}
Expand All @@ -56,4 +56,3 @@ DateSelector.propTypes = {
handleCheckboxChange: PropTypes.func.isRequired,
handleOnlyIsolation: PropTypes.func.isRequired,
};

0 comments on commit 8df5c57

Please sign in to comment.