-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor/pcollapsiblepanel logic #5553
base: refactor-pcollapsiblepanel-logic
Are you sure you want to change the base?
Refactor/pcollapsiblepanel logic #5553
Conversation
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
…lapsiblePanel Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
…' into refactor/pcollapsiblepanel-logic Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
…ollapsiblepanel-logic Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
Signed-off-by: daeyeon ko <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
packages/mirinae/src/data-display/collapsible/collapsible-panel/PCollapsiblePanel.vue
Show resolved
Hide resolved
// eslint-disable-next-line no-restricted-globals | ||
if (isNaN(lineHeight)) { | ||
const fontSize = parseFloat(computedStyle.fontSize); | ||
lineHeight = fontSize * 1.2; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Consider using Number.isNaN instead of isNaN for better type safety and to avoid implicit type coercion.
To Reviewers
style
,chore
,ci
,test
,docs
)Description (optional)
Things to Talk About (optional)