Skip to content

Commit

Permalink
fix(LinkRow): Remove row width
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Martinez authored and ooHmartY committed Jul 2, 2018
1 parent 7541815 commit fb9fcbc
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/components/Link/Row.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ const LinkRow = styled.div.attrs({
className: "links links__row",
role: "menubar"
})`
width: 100%;
.list-container {
position: relative;
}
Expand Down
45 changes: 42 additions & 3 deletions src/components/NavBar/__tests__/__snapshots__/index.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ exports[`NavBar renders fixed 1`] = `
}
.c5 {
width: 100%;
height: 60px;
}
Expand Down Expand Up @@ -120,6 +119,10 @@ exports[`NavBar renders fixed 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 12px;
padding-left: 16px;
color: rgba(255,255,255,1);
Expand Down Expand Up @@ -149,6 +152,10 @@ exports[`NavBar renders fixed 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 12px;
padding-left: 12px;
color: rgba(255,255,255,1);
Expand Down Expand Up @@ -261,6 +268,13 @@ exports[`NavBar renders fixed 1`] = `
}
}
@media screen and (min-width:320px) {
.c3 {
padding-left: 0;
padding-right: 0;
}
}
@media screen and (min-width:769px) {
.c3 {
padding-left: 24px;
Expand Down Expand Up @@ -475,7 +489,6 @@ exports[`NavBar renders inverted 1`] = `
}
.c5 {
width: 100%;
height: 60px;
}
Expand Down Expand Up @@ -557,6 +570,10 @@ exports[`NavBar renders inverted 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 12px;
padding-left: 16px;
color: rgba(255,255,255,1);
Expand Down Expand Up @@ -586,6 +603,10 @@ exports[`NavBar renders inverted 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 12px;
padding-left: 12px;
color: rgba(255,255,255,1);
Expand Down Expand Up @@ -698,6 +719,13 @@ exports[`NavBar renders inverted 1`] = `
}
}
@media screen and (min-width:320px) {
.c3 {
padding-left: 0;
padding-right: 0;
}
}
@media screen and (min-width:769px) {
.c3 {
padding-left: 24px;
Expand Down Expand Up @@ -909,7 +937,6 @@ exports[`NavBar renders with defaults 1`] = `
}
.c3 {
width: 100%;
height: 60px;
}
Expand Down Expand Up @@ -1010,6 +1037,10 @@ exports[`NavBar renders with defaults 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 12px;
padding-left: 16px;
color: rgba(255,255,255,1);
Expand Down Expand Up @@ -1039,6 +1070,10 @@ exports[`NavBar renders with defaults 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 12px;
padding-left: 12px;
color: rgba(255,255,255,1);
Expand Down Expand Up @@ -1068,6 +1103,10 @@ exports[`NavBar renders with defaults 1`] = `
text-decoration: none;
border: 0;
height: 60px;
outline: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding-right: 16px;
padding-left: 12px;
color: rgba(255,255,255,1);
Expand Down

0 comments on commit fb9fcbc

Please sign in to comment.