Skip to content

Commit

Permalink
fix(Accordion): remove white background for Header and Footer
Browse files Browse the repository at this point in the history
Reported on Slack.
  • Loading branch information
RobinCsl committed Dec 5, 2024
1 parent e64f49f commit 3000329
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props extends Common.Globals {

const AccordionSectionFooter = ({ children, dataTest }: Props) => (
<div
className="p-600 bg-white-normal shadow-level2 sticky bottom-0 flex"
className="p-600 shadow-level2 sticky bottom-0 flex"
data-test={dataTest && `${dataTest}Footer`}
>
{children}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ const AccordionSectionHeader = ({
dataTest,
}: Props) => (
<div
className={cx(
"p-600 bg-white-normal flex items-center",
expanded ? "min-h-[19px]" : "min-h-form-box-normal",
)}
className={cx("p-600 flex items-center", expanded ? "min-h-[19px]" : "min-h-form-box-normal")}
data-test={dataTest && `${dataTest}Header`}
>
<div className="flex grow items-center">{children}</div>
Expand Down

0 comments on commit 3000329

Please sign in to comment.