Skip to content

Commit

Permalink
Improved the spacing around the main buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
William Troup committed Jan 17, 2024
1 parent 7512c93 commit 70f2462
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions dist/heat.js.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ div.heat-js div.title-bar button.active {
div.heat-js div.title-bar button.back {
margin-left: calc(var(--heat-js-spacing) * 2) !important;
}
div.heat-js div.title-bar button.export {
margin-right: calc(var(--heat-js-spacing) / 2) !important;
}
div.heat-js div.title-bar div.year-text {
margin-left: var(--heat-js-spacing);
margin-right: var(--heat-js-spacing);
Expand Down
2 changes: 1 addition & 1 deletion dist/heat.js.css.map

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

2 changes: 1 addition & 1 deletion dist/heat.js.min.css

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

1 change: 1 addition & 0 deletions docs/CHANGE_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- The buttons will no longer show a focused outline effect when Bootstrap is being used.
- Added new ":root" variable "--heat-js-day-border-color", which states the border color to use for the days.
- Added new ":root" variable "--heat-js-day-spacing", which states the spacing to use for the days (now all even).
- Improved the spacing around the main buttons.

<br>

Expand Down
4 changes: 4 additions & 0 deletions src/heat.js.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ div.heat-js {
margin-left: calc( var(--heat-js-spacing) * 2 ) !important;
}

button.export {
margin-right: calc( var(--heat-js-spacing) / 2 ) !important;
}

div.year-text {
margin-left: var(--heat-js-spacing);
margin-right: var(--heat-js-spacing);
Expand Down

0 comments on commit 70f2462

Please sign in to comment.