Skip to content

Commit

Permalink
style: refactor to same same
Browse files Browse the repository at this point in the history
  • Loading branch information
eldu committed Feb 29, 2024
1 parent d486873 commit 8515c6a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
18 changes: 8 additions & 10 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ export function App() {
return (
<div aria-live="polite">
<Navbar />
<div className="App">
<BrowserRouter>
<main>
<Routes>
<Route exact path="/" element={<ContentPage />} />
</Routes>
</main>
</BrowserRouter>
<Footer />
</div>
<BrowserRouter>
<main className="main">
<Routes>
<Route exact path="/" element={<ContentPage />} />
</Routes>
</main>
</BrowserRouter>
<Footer />
</div>
);
}
7 changes: 0 additions & 7 deletions src/styles/components/_app.scss

This file was deleted.

6 changes: 5 additions & 1 deletion src/styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ $theme-colors: map-merge($theme-colors, $custom-colors);
@import './src/styles/components/_brown_fonts.scss';
@import './src/styles/components/_brown_icons.scss';
@import './src/styles/components/_brown_footer.scss';
@import './src/styles/components/_app.scss';

.main {
min-height: 90vh;
padding: 2vw 3vw;
}

.form-group.required > .form-label:after {
content: ' *';
Expand Down

0 comments on commit 8515c6a

Please sign in to comment.