Skip to content

Commit

Permalink
change the overflow to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudLun committed Dec 13, 2023
1 parent a2419d0 commit a4beda3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/SidePanel/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const About = ({ expand, legislationsClickHandler }: Props) => {
</div>
{
selectedContent === "intro" && (
<div className='flex-1 flex flex-col justify-between overflow-y-scroll'>
<div className='flex-1 flex flex-col justify-between overflow-y-auto'>
<div className="text-[12px] lg:text-body mx-[20px]">
<p>
<a className='hover:underline' target='_blank' href='https://www.righttocounselnyc.org/hcmc'>Housing Courts Must Change! (HCMC)</a> is a statewide campaign launched by the Right to Counsel NYC Coalition in 2020 to transform the courts across New York State (NYS) from an “eviction machine” to a place that holds landlords accountable, upholds tenants’ rights, and enables tenants to remain in their homes.
Expand Down
2 changes: 1 addition & 1 deletion components/SidePanel/LegislationColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const LegislationColumns = ({ legislation, name, number, content, expand, calula
}
</div>
<div className='mx-[20px] mb-[20px] font-regular text-label'>{number}</div>
<div className='flex-1 overflow-y-scroll'>
<div className='flex-1 overflow-y-auto'>
{
calulated && <VotesVisualization legislation={legislation as | "Statewide RTC"
| "Defend RTC"
Expand Down

0 comments on commit a4beda3

Please sign in to comment.