Skip to content

Commit aa6e411

Browse files
committed
Changing navbar to collapsed navbar to kick in < 768px. Changing other media selectors to kick in at the same instead of 600px as previously.
1 parent 4cbd9da commit aa6e411

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/App.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
}
4343

4444
.navbar {
45-
padding-left: 50px;
46-
padding-right: 50px;
45+
padding-left: 25px;
46+
padding-right: 25px;
4747
}
4848

4949
.fa-twitter {
@@ -135,7 +135,7 @@ p {
135135
font: normal normal normal 20px/1.25em BrandonGrotW01-Light, sans-serif;
136136
}
137137

138-
@media only screen and (max-width: 600px) {
138+
@media only screen and (max-width: 767px) {
139139
h1 {
140140
font: normal normal normal 40px/1.25em BrandonGrotW01-Light, sans-serif;
141141
}

src/Navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22

33
function Navbar() {
4-
return (<nav className="navbar navbar-expand-lg navbar-light bg-light fixed-top">
4+
return (<nav className="navbar navbar-expand-md navbar-light bg-light fixed-top">
55
<a className="navbar-brand n" href="#">
66
<img className="navbar-logo" src={process.env.PUBLIC_URL + "ScalaBridge-small.png"}/>
77
</a>

0 commit comments

Comments
 (0)