Skip to content

Commit

Permalink
fix: button style
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Jan 1, 2019
1 parent 8564a99 commit 35a0a90
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion _includes/scripts/lib/scroll-to.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
window.Lazyload.js(SOURCES.jquery, function() {
function scrollToAnchor(anchor, duration, callback) {
var $root = this;
console.log($(anchor).position().top);
$root.animate({ scrollTop: $(anchor).position().top }, duration, function() {
window.history.replaceState(null, '', window.location.href.split('#')[0] + anchor);
callback && callback();
Expand Down
1 change: 0 additions & 1 deletion _sass/common/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
font-weight: map-get($button, font-weight);
line-height: 1 !important;
text-decoration: none !important;
white-space: nowrap;
cursor: pointer;
outline: none;
@include user-select(none);
Expand Down
2 changes: 2 additions & 0 deletions _sass/components/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
}

.header__brand {
@include flexbox();
@include align-items(center);
& > svg {
width: map-get($base, font-size-h4) * 1.6;
height: map-get($base, font-size-h4) * 1.6;
Expand Down

0 comments on commit 35a0a90

Please sign in to comment.