Force flash message width to 80% of screen on small devices

closes #6529
This commit is contained in:
Augier 2015-10-30 12:24:25 +01:00 committed by Jonne Haß
parent a054a35863
commit e731bb86c5
2 changed files with 8 additions and 0 deletions

View file

@ -7,6 +7,7 @@
* Correctly skip setting sidekiq logfile on Heroku [#6500](https://github.com/diaspora/diaspora/pull/6500)
* Fix notifications for interactions by non-contacts [#6498](https://github.com/diaspora/diaspora/pull/6498)
* Fix issue where the publisher was broken on profile pages [#6503](https://github.com/diaspora/diaspora/pull/6503)
* Limit flash message width on small devices [#6529](https://github.com/diaspora/diaspora/pull/6529)
## Features

View file

@ -50,4 +50,11 @@
background-color: #CA410B;
border-color: darken(#CA410B, 10%);
}
@media (max-width: $grid-float-breakpoint-max) {
.flash-message {
max-width: 80%;
min-width: 80%;
}
}
}