Skip to content

Commit

Permalink
Merge pull request #527 from zoff-music/refactor/compliance
Browse files Browse the repository at this point in the history
Some mobile positioning
  • Loading branch information
Kasper Rynning-Tønnesen authored Nov 24, 2019
2 parents 745da88 + 7af460a commit ba446d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion server/public/assets/css/mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}

.list-title {
width: 66%;
width: 60%;
}

.hamburger-sidenav {
Expand Down Expand Up @@ -174,7 +174,9 @@
}

.cast-button-header {
width: 50px;
height: 56px;
overflow: hidden;
}

.slider-vol-mobile {
Expand Down
5 changes: 4 additions & 1 deletion server/public/assets/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ function get_list_ajax() {
List.populate_list(response.results);
}
},
error: function(response) {
error: function(response, xmlhttp) {
//response = JSON.parse(response);
if (response.status == 403) {
start_auth();
Expand Down Expand Up @@ -1453,6 +1453,9 @@ function resizePlaylistPlaying(playing, resizing) {
Helper.css(".list-song", "height", List.element_height + "px");
Channel.set_title_width();
var toJumpTo = page / canFit;
if(full_playlist == undefined) {
return;
}
if (
toJumpTo > Math.floor(full_playlist.length / List.can_fit) &&
resizing
Expand Down

0 comments on commit ba446d9

Please sign in to comment.