Skip to content
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

Chat: fjern border, gjør svg mindre, bytt om "subtle" og "neutral" #2077

Merged
merged 4 commits into from
Jun 26, 2023

Conversation

HalvorHaugan
Copy link
Contributor

Fjernet border og satte maks-størrelse på svg til 24x24px: #2075

Linda gir beskjed om endringen til de som bruker komponenten.

Usikker på om det er patch eller minor...?

@changeset-bot
Copy link

changeset-bot bot commented Jun 26, 2023

🦋 Changeset detected

Latest commit: d6c714b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@navikt/ds-css Patch
@navikt/aksel-stylelint Patch
@navikt/aksel Patch
@navikt/ds-react Patch
@navikt/ds-tokens Patch
@navikt/ds-tailwind Patch
@navikt/aksel-icons Patch

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

@github-actions
Copy link
Contributor

github-actions bot commented Jun 26, 2023

Endringer til review: 9

01bf49ba2 | 45 komponenter | 270 stories

@@ -41,16 +40,16 @@

.navds-chat__avatar svg {
align-self: center;
height: 100%;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skjer noe alignment bugs her når denne fjernes, usikker hvorfor 🤔

Etter:
Screenshot 2023-06-26 at 11 17 31

Før:
Screenshot 2023-06-26 at 11 17 34

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chrome og avrunding 🙄 Eventuell fiks blir hacky, tror jeg... Skal undersøke.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ble ikke så ille som jeg fryktet 😅

KenAJoh
KenAJoh previously approved these changes Jun 26, 2023
Copy link
Collaborator

@KenAJoh KenAJoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

En ting jeg så først nå var at variant "subtle" og "neutral" er reversert. Egentlig skal Neutral være den "mørkeste" varianten, mens subtle er den lyseste. Må evt fikses i CSS + endre default variant fra subtle til neutral. Dette er i teorien en breaking change, men kan kanskje gjøre noen github-søk å se om noen har oppdatert til 4.2.0 + bruker Chat. Hvis det brekker noen apper trenger vi ikke å fikse det nå

@HalvorHaugan HalvorHaugan changed the title Chat: fjern border og gjør svg mindre Chat: fjern border, gjør svg mindre, bytt om "subtle" og "neutral" Jun 26, 2023
@KenAJoh KenAJoh merged commit 4156326 into main Jun 26, 2023
@KenAJoh KenAJoh deleted the chat-adjust branch June 26, 2023 11:27
@github-actions github-actions bot mentioned this pull request Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants