Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/pages/routes/routes.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -730,14 +730,14 @@ export default function Routes() {
component={Notifications}
layout={RootLayout}
/>
<RouteWithLayout path={SNAPS_ROUTE} exact layout={LegacyLayout}>
<RouteWithLayout path={SNAPS_ROUTE} exact layout={RootLayout}>
{createV5CompatRoute(SnapList, {
wrapper: AuthenticatedV5Compat,
includeNavigate: true,
includeLocation: true,
})}
</RouteWithLayout>
<RouteWithLayout path={SNAPS_VIEW_ROUTE} layout={LegacyLayout}>
<RouteWithLayout path={SNAPS_VIEW_ROUTE} layout={RootLayout}>
{createV5CompatRoute(SnapView, {
wrapper: AuthenticatedV5Compat,
includeNavigate: true,
Expand Down
15 changes: 0 additions & 15 deletions ui/pages/snaps/snaps-list/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

.snaps {
$height-screen-sm-max: 100%;
$width-screen-sm-min: 85vw;
$width-screen-md-min: 80vw;
$width-screen-lg-min: 62vw;

// prevent overflow-x
max-width: 100%;
Expand All @@ -15,18 +12,6 @@
height: $height-screen-sm-max;
}

@include design-system.screen-sm-min {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let the layout handle widths

width: $width-screen-sm-min;
}

@include design-system.screen-md-min {
width: $width-screen-md-min;
}

@include design-system.screen-lg-min {
width: $width-screen-lg-min;
}

&__content {
padding: 0;

Expand Down
2 changes: 1 addition & 1 deletion ui/pages/snaps/snaps-list/snap-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const SnapList = ({ navigate: navigateProp }) => {
const snapUpdateMap = useSelector(getAllSnapAvailableUpdates);

return (
<div className="snaps">
<div className="snaps h-full">
<Page backgroundColor={BackgroundColor.backgroundDefault}>
<Header
backgroundColor={BackgroundColor.backgroundDefault}
Expand Down
Loading