Skip to content

Commit

Permalink
fix is number check, minor styling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Dec 4, 2023
1 parent 8573f9a commit bad8de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/helpers/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function range(start, end) {

export function isNumber(target) {
if (typeof target === "number") return true;
if (target == null || target === "") return false;
if (target == null || String(target).trim() === "") return false;
return !isNaN(target);
}

Expand Down
2 changes: 1 addition & 1 deletion src/styles/components/_Report.scss
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ $selector-box-shadow: 0 2px 2px #383e40;
.accordion-content {
overflow: hidden;
max-height: 0;
transition: all 0.35s cubic-bezier(0.52, 1.02, 1, 1.34);
transition: all 0.7s cubic-bezier(0.52, 1.02, 1, 1.34);
&.active {
max-height: 2400px;
}
Expand Down

0 comments on commit bad8de2

Please sign in to comment.