Skip to content

Commit

Permalink
fix switch cohort window getting clipped when zoomed in for accessibi…
Browse files Browse the repository at this point in the history
…lity
  • Loading branch information
imatiach-msft committed Nov 27, 2023
1 parent 96b3574 commit 42cee74
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,20 @@ export class ShiftCohort extends React.Component<
},
isBlocking: true
}}
minWidth={740}
maxWidth={1000}
styles={{
main: {
selectors: {
"@media (max-width: 740px)": {
maxWidth: "740px",
minWidth: "100px"
},
"@media (min-width: 740px)": {
maxWidth: "1000px",
minWidth: "740px"
}
}
}
}}
>
<Dropdown
placeholder={localizationBase.selectCohort}
Expand Down

0 comments on commit 42cee74

Please sign in to comment.