Skip to content

Commit

Permalink
Update examples styling (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayneczyzewski authored Nov 16, 2022
1 parent 52e7104 commit c71c810
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/realworld/ext/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2 changes: 2 additions & 0 deletions examples/realworld/src/client/MainPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import Navbar from './Navbar'
import ArticleListPaginated from './article/components/ArticleListPaginated'
import addWaspSourceHeader from './addWaspSourceHeader'

import './style.css'

const MainPage = () => {
const { data: me } = useAuth()

Expand Down
8 changes: 8 additions & 0 deletions examples/thoughts/src/client/Main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
}

button.plain {
border: none;
outline: none;
Expand Down
8 changes: 8 additions & 0 deletions examples/waspello/src/client/Main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
}

.container {
min-height: 100vh;
display: flex;
Expand Down
10 changes: 10 additions & 0 deletions examples/waspleau/src/client/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.container {
margin: 40px;
}
Expand Down

0 comments on commit c71c810

Please sign in to comment.