Skip to content

Commit

Permalink
fix case study ul styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewheeler committed Dec 2, 2024
1 parent a52c207 commit 268c953
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion src/app/case-studies/_ui/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Link from 'next/link';
import { Link as ExternalLink } from '@trussworks/react-uswds';
import styles from './styles.module.scss';
import classNames from 'classnames';

interface ContainerProps {
children: React.ReactNode;
Expand Down Expand Up @@ -42,7 +44,12 @@ const Text = ({ children }: ContainerProps) => {

const UnorderedList = ({ children }: ContainerProps) => {
return (
<ul className="list__full-width flex flex-col gap-2 font-semibold">
<ul
className={classNames(
'flex flex-col gap-2 font-semibold',
styles.list__fullWidth,
)}
>
{children}
</ul>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.list__full-width {
.list__fullWidth {
li {
min-width: 100%;
}
Expand Down
1 change: 0 additions & 1 deletion src/app/case-studies/dibbs-pipeline/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
Text,
ReadMore,
} from '../_ui';
import '../_ui/styles.scss';

const DibbsPipeline = () => {
return (
Expand Down

0 comments on commit 268c953

Please sign in to comment.