Skip to content

Commit

Permalink
fix plain button border radius and editable label padding
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Nov 15, 2024
1 parent acccbe1 commit d15ef8c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion clients/ui/frontend/src/shared/style/MUI-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,12 @@
--pf-v6-c-menu-toggle--BorderRadius: 50%;
}

.mui-theme .pf-v6-c-menu-toggle.pf-m-primary {
--pf-v6-c-menu-toggle--expanded--Color: var(--mui-palette-common-white);
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(--mui-palette-primary-main);
--pf-v6-c-menu-toggle--hover--BackgroundColor: var(--mui-palette-primary-dark);
}

.mui-theme .pf-v6-c-menu-toggle.pf-m-primary.pf-m-split-button {
--pf-v6-c-menu-toggle--expanded--Color: var(--pf-t--global--text--color--on-brand--clicked);
}
Expand Down Expand Up @@ -667,8 +673,9 @@
}

.mui-theme .pf-v6-c-label.pf-m-filled .pf-v6-c-label__actions .pf-v6-c-button {
margin: 0px 5px 0px -6px;
--pf-v6-c-button__icon--Color: var(--mui-palette-common-white);
--pf-v6-c-button--PaddingInlineStart: var(--mui-spacing-4px);
--pf-v6-c-button--PaddingInlineEnd: var(--mui-spacing-4px);
}

.mui-theme .pf-v6-c-label {
Expand All @@ -692,6 +699,12 @@
border: 2px solid var(--mui-palette-common-black);
}

.mui-theme .pf-v6-c-button.pf-m-plain {
--pf-v6-c-button--BorderRadius: 50%;
--pf-v6-c-button--PaddingInlineStart: none;
--pf-v6-c-button--PaddingInlineEnd: none;
}

.mui-theme .pf-v6-c-page__main-container {
--pf-v6-c-page__main-container--BorderRadius: var(--mui-shape-borderRadius);
box-shadow: var(--mui-shadows-1);
Expand Down

0 comments on commit d15ef8c

Please sign in to comment.