Skip to content

Commit

Permalink
fix cookie on small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
hkrzyszczak committed Feb 1, 2018
1 parent 9c965d5 commit 2ebfaad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions css/style_responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@
display: block;
}

#back_to_top {
display: none;
}

}

@media screen and (max-width: 600px) {
Expand Down
4 changes: 2 additions & 2 deletions js/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ C = {

createDiv: function () {
var banner = $(
'<div class="cookie-div alert alert-dismissible text-'+
'<div class="col-xs-12 col-sm-4 cookie-div alert alert-dismissible text-'+
this.alertAlign +' fade in" ' +
'role="alert" style="position: fixed; bottom: 0; width: 30%; ' +
'role="alert" style="position: fixed; bottom: 0; ' +
'margin-bottom: 0"><strong>' + this.bannerTitle + '</strong> ' +
this.bannerMessage + ' <a href="' + this.bannerLinkURL + '">' +
this.bannerLinkText + '</a> <button type="button" class="btn ' +
Expand Down

0 comments on commit 2ebfaad

Please sign in to comment.