Skip to content

Commit

Permalink
fix(JumpButton): Fix JumpButton styles for Backstage
Browse files Browse the repository at this point in the history
Because of the way Backstage pulls in CSS (PF before ChatBot), PatternFly overrides certain styles for the JumpButtons. Marking them should allow these to render properly in Backstage.
  • Loading branch information
rebeccaalpert committed Dec 9, 2024
1 parent b245ae7 commit f2ba7be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/module/src/MessageBox/JumpButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
inset-inline-start: 75% !important;
width: 2rem !important;
height: 2rem !important;
display: flex;
align-items: center;
justify-content: center;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: var(--pf-t--global--spacer--md) !important;
border-radius: var(--pf-t--global--border--radius--pill) !important;
--pf-v6-c-button--MinWidth: 2rem;
--pf-v6-c-button--MinWidth: 2rem !important;
background-color: var(--pf-t--global--background--color--primary--default) !important;
border: 1px solid var(--pf-t--chatbot--border) !important;
box-shadow: var(--pf-t--global--box-shadow--sm);
Expand Down

0 comments on commit f2ba7be

Please sign in to comment.