Skip to content

Commit 2e1fb00

Browse files
committed
style: adjust layout margins and padding for grid layout in App and feed components
1 parent 0a7ead2 commit 2e1fb00

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const App = () => {
8585
<div
8686
className={clsx(
8787
'layoutLayers',
88-
layout === 'cards' ? 'cardsLayout hideScrollBar' : 'gridLayout scrollable'
88+
layout === 'cards' ? 'cardsLayout hideScrollBar' : 'gridLayout'
8989
)}>
9090
{isDNDModeActive() && <DNDLayout />}
9191
<AppContentLayout />

src/assets/App.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,8 +1244,6 @@ Producthunt item
12441244
}
12451245

12461246
.layoutLayers.gridLayout {
1247-
margin-left: 1%;
1248-
padding-right: 1%;
12491247
margin-top: 1%;
12501248
box-shadow: 0px -10px 20px -15px var(--card-border-color);
12511249
}

src/features/feed/components/feed.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
grid-template-columns: repeat(3, 1fr);
77
scroll-margin-top: 12px;
88
gap: 16px;
9+
margin-left: 1%;
10+
padding-right: 1%;
911

1012
@media (max-width: 768px) {
1113
display: flex;

0 commit comments

Comments
 (0)