Skip to content

Commit

Permalink
Merge pull request #429 from nypublicradio/mwalsh/WQXR-232
Browse files Browse the repository at this point in the history
WQXR-244 Daily schedule page, show ad on mobile, make it sticky on desktop
  • Loading branch information
walsh9 authored Apr 13, 2023
2 parents f75175e + 0e9fb05 commit 89c6b02
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
@import 'legacy/search';
@import 'legacy/screen';
@import 'legacy/schedule';
@import 'legacy/playlist';
@import 'legacy/nav-menu';
@import 'legacy/user-profile';
@import 'legacy/events';
Expand Down
17 changes: 17 additions & 0 deletions app/styles/legacy/_playlist.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.playlist-daily .site-container .grid_4.sidebar {
position: static;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
@media only screen and (min-width: 1160px) {
.playlist-daily .site-container .grid_4.sidebar {
display: inline;
width: 300px;
}
.playlist-daily .site-container .grid_4.sidebar.sidebar_main {
position: sticky;
top: 0;
}
}
6 changes: 0 additions & 6 deletions app/styles/legacy/_schedule.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ ul.schedule-table {
display: none;
}



@include mq($medium-only) {
.schedule-playlists,
ul.schedule-dates,
Expand All @@ -263,10 +261,6 @@ ul.schedule-table {
margin: 0;
}

.site-container .grid_4 {
display: none;
}

ul.schedule-dates {
display: flex;
flex-flow: row wrap;
Expand Down

0 comments on commit 89c6b02

Please sign in to comment.