-
Notifications
You must be signed in to change notification settings - Fork 20
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
[DRAFT] feat: tooltip component #561
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Problem:
|
|
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.
- wrong PR title
- why you even working on this issue? is it is not important!
There is no problem with the date. It is a fake and problem, and a solution is a waste of resources. |
|
Hey there! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details:
|
|
@@ -0,0 +1,65 @@ | |||
<script> |
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.
no need for this file
mixin information-circle | ||
svg(width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg") | ||
circle(cx="12" cy="12" r="10" fill="lightblue") | ||
text( | ||
x="50%" | ||
y="50%" | ||
text-anchor="middle" | ||
alignment-baseline="central" | ||
font-size="14" | ||
fill="white" | ||
) i |
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.
no in this scope
.vscode/settings.json
Outdated
@@ -2,7 +2,7 @@ | |||
"editor.formatOnSave": true, | |||
"editor.defaultFormatter": "esbenp.prettier-vscode", | |||
"editor.codeActionsOnSave": { | |||
"source.fixAll.eslint": true | |||
"source.fixAll.eslint": "explicit" |
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.
revert this
.tooltip | ||
padding: calc(#{theme('spacing.6')} - 1px) | ||
@apply block z-10 text-p2 text-gray-5 rounded-base-radius normal-case min-w-[250px] max-w-[346px] w-fit | ||
|
||
&-arrow | ||
position: absolute | ||
height: 9px | ||
width: 12px | ||
@apply text-gray-70 stroke-gray-40 | ||
|
||
svg | ||
position: relative | ||
display: block | ||
transform-origin: 50% 50% | ||
|
||
&[data-placement^='top'] > &-arrow | ||
bottom: -9px | ||
|
||
svg | ||
transform: rotate(0deg) | ||
|
||
&[data-placement^='bottom'] > &-arrow | ||
top: -9px | ||
|
||
svg | ||
transform: rotate(180deg) | ||
|
||
&[data-placement^='left'] > &-arrow | ||
right: -10.5px | ||
|
||
svg | ||
transform: rotate(-90deg) | ||
|
||
&[data-placement^='right'] > &-arrow | ||
left: -10.5px | ||
|
||
svg | ||
transform: rotate(90deg) |
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.
please check so the styles will match the Figma Design
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.
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.
see my comments.
|
|
1 similar comment
@georgeciubotaru |
Goal: add
tooltip
forFDM
Steps:
code
code
Log:
ETA: 1-4 hrs