Skip to content

Commit

Permalink
Set all overflows to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Riabkov committed Feb 22, 2024
1 parent d66b1e2 commit 188cd7e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/shared/ui/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const CustomCard = ({ id, title, description, imageSrc, onClick }: CardPr
gutterBottom
component="div"
fontSize="20px"
sx={{ "&:hover": { textDecoration: "underline" } }}
sx={{ wordBreak: "break-word", "&:hover": { textDecoration: "underline" } }}
data-testid="custom-card-title">
{title}
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/ActivityDetails/ui/AssessmentLoadingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const AssessmentLoadingScreen = () => {
</Box>
</Box>

<Box id="assessment-content-container" display="flex" flex={1} flexDirection="column" overflow="scroll">
<Box id="assessment-content-container" display="flex" flex={1} flexDirection="column" overflow="auto">
<NotificationCenter />
<Loader />
</Box>
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/ActivityDetails/ui/AssessmentPassingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const AssessmentPassingScreen = (props: Props) => {
publicKey={context.isPublic ? context.publicAppletKey : null}
/>

<Box id="assessment-content-container" display="flex" flex={1} flexDirection="column" overflow="scroll">
<Box id="assessment-content-container" display="flex" flex={1} flexDirection="column" overflow="auto">
<NotificationCenter />
<Box display="flex" flex={1} justifyContent="center">
<Box maxWidth="900px" display="flex" alignItems="center" flex={1}>
Expand Down
1 change: 1 addition & 0 deletions src/widgets/ActivityGroups/ui/ActivityGroupList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const ActivityGroupList = () => {
lineHeight: "28px",
fontStyle: "normal",
cursor: isAppletAboutExist ? "pointer" : "default",
wordBreak: "break-word",
}}>
{applet.displayName}
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/AppLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Layout = ({
backgroundColor: bgColor,
}}>
{header ? header : <Header />}
<Box id="app-content-container" display="flex" flex={1} flexDirection="column" overflow="scroll">
<Box id="app-content-container" display="flex" flex={1} flexDirection="column" overflow="auto">
<NotificationCenter />
{children ? children : <Outlet />}
{footer ? footer : <Footer />}
Expand Down

0 comments on commit 188cd7e

Please sign in to comment.