Skip to content

Commit

Permalink
Fix alignment of header, aside, and margin (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
blms committed Nov 3, 2022
1 parent 7a0b69a commit ce44a78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/Header/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ header nav ul li a.active {

/* home link */
header nav ul li:first-child {
width: 25vw;
min-width: 350px;
width: 350px;
}
header nav ul li a.home {
background-color: var(--gold);
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
main:not(#map) {
padding: 30px 30px 30px 0;
max-width: 60ch;
margin: 0 0 0 25vw;
margin: 0 0 0 350px;
line-height: 1.5;
}
/* center content layout on large displays */
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MapPage/MapPage.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aside#map-control {
width: 300px;
width: 330px;
padding: 20px 10px;
background-color: var(--sidebar-bg);
height: calc(100% - 64px - 40px);
Expand Down

0 comments on commit ce44a78

Please sign in to comment.