Skip to content

Commit

Permalink
Merge pull request #455 from frontside-folio/jc/media-query-var-names
Browse files Browse the repository at this point in the history
Fix CSS variable naming for breakpoints
  • Loading branch information
cherewaty authored Oct 5, 2018
2 parents 33431c1 + b88f9b3 commit 8d4217b
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change history for stripes-core

## [2.15.3](https://github.com/folio-org/stripes-core/tree/v2.15.3) (2018-10-05)
[Full Changelog](https://github.com/folio-org/stripes-core/compare/v2.15.2...v2.15.3)

* Fix CSS variable naming for breakpoints

## [2.15.2](https://github.com/folio-org/stripes-core/tree/v2.15.2) (2018-10-04)
[Full Changelog](https://github.com/folio-org/stripes-core/compare/v2.15.1...v2.15.2)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@folio/stripes-core",
"version": "2.15.2",
"version": "2.15.3",
"description": "The starting point for Stripes applications",
"license": "Apache-2.0",
"repository": "folio-org/stripes-core",
Expand Down
2 changes: 1 addition & 1 deletion src/components/About/About.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "@folio/stripes-components/lib/variables.css";

@media (--largeUp) {
@media (--large-up) {
.versionsContainer {
display: flex;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/MainNav/AppList/AppList.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ul.dropdownList {
}
}

@media (--mediumUp) {
@media (--medium-up) {
.dropdownListItemDescription {
display: block;
}
Expand All @@ -118,7 +118,7 @@ ul.dropdownList {
}
}

@media (--largeUp) {
@media (--large-up) {
.navItemsList {
display: flex;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainNav/MainNav.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
}

@media (--mediumDown) {
@media (--medium-down) {
.brandingLabel {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainNav/NavDivider/NavDivider.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
margin: 0 5px;
}

@media (--mediumDown) {
@media (--medium-down) {
.hideMed {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainNav/NavDropdownMenu/NavDropdownMenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
}

@media (--mediumDown) {
@media (--medium-down) {
.DropdownMenu {
min-width: 29.5rem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainNav/NavGroup/NavGroup.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin: 0;
}

@media (--mediumDown) {
@media (--medium-down) {
.navGroup {
&.hideMed {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/SystemSkeleton/SystemSkeleton.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
display: flex;
}

@media (--mediumDown) {
@media (--medium-down) {
.hideOnSmallScreens {
display: none;
}
Expand Down

0 comments on commit 8d4217b

Please sign in to comment.