Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1436 from navikt/chatbotMultilineButton
Browse files Browse the repository at this point in the history
Update chatbot to allow multiline buttons
  • Loading branch information
anders-nom authored May 9, 2023
2 parents 8693f2b + ef5c84a commit e7f3c30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/komponenter/footer/chatbot/ChatbotWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ export const ChatbotWrapper = () => {
conversationId: cookies[conversationCookieName],
openTextLinksInNewTab: true,
},
styling: {
buttons: {
multiline: true,
},
},
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/komponenter/footer/chatbot/boost-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type BoostButtonStyling = {
backgroundColor?: HexColor;
textColor?: HexColor;
variant?: ButtonType;
focusBackgroundColor: HexColor;
focusBackgroundColor?: HexColor;
focusOutlineColor?: HexColor;
focusTextColor?: HexColor;
hoverBackgroundColor?: HexColor;
Expand Down

0 comments on commit e7f3c30

Please sign in to comment.