-
Notifications
You must be signed in to change notification settings - Fork 42
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
💄 fix for broken pin style #2889
Conversation
As content (Rows) grows, the pin would get pushed down (and under) the content.
🦋 Changeset detectedLatest commit: 014ade3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Storybook demoEndringer til review: 3ea791fbcc | 63 komponenter | 204 stories |
@@ -245,7 +245,7 @@ | |||
.navds-timeline__pin-wrapper::before { | |||
content: ""; | |||
top: var(--navdsc-timeline-pin-size); | |||
height: calc(88% - var(--navdsc-timeline-pin-size)); | |||
height: calc(100% - var(--navdsc-timeline-pin-size) * 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.
Hvis denne endres til noe lignende height: calc(103% - var(--navdsc-timeline-pin-size) * 2);
så kan
.navds-timeline__axislabels {
...
margin-bottom: var(--a-spacing-3);
}
endres til noe nærmere
.navds-timeline__axislabels {
...
margin-bottom: var(--a-spacing-2);
}
For å gjøre høyde-endringen litt mindre 🤞 (bare eyeballed noen verdier her for å gjøre den litt mer kompakt, så kan hende det finnes bedre løsninger)
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.
tror 100% var safest pga den ikke far noe "drift" med endring i content height 🤔 ... skal teste
Fixes the following:
now looks like this (with storybook for multiple heights):