Skip to content

Commit

Permalink
[Issue 496] make FullWidthAlert sticky (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
andycochran authored Nov 8, 2023
1 parent fe1d18e commit eab68da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/FullWidthAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const getBGColor = (type: Props["type"]) => {

const FullWidthAlert = ({ type, heading, children }: Props) => {
return (
<div className={`${getBGColor(type)}`}>
<div className={`${getBGColor(type)} tablet:position-sticky top-0 z-top`}>
<GridContainer className="padding-y-1 tablet-lg:padding-y-2">
<Grid>
<USWDSAlert
Expand Down

0 comments on commit eab68da

Please sign in to comment.