diff --git a/CHANGELOG.md b/CHANGELOG.md index f687e08f9..3779922b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ * This file will be updated whenever a new release is put into production. * Any problems should be reported via the "report an issue" link in the footer of the application. +## v5.5.1 - 2016-01-11 +### Fixed +* The equipment model availability numbers no longer overflow when they are two digits long ([#1363](https://github.com/YaleSTC/reservations/issues/1363)). + ## v5.5.0 - 2015-11-23 ### Fixed * The dropdown menu that appears when clicking on the reserver in a list of reservations is no longer blocked in a short table ([#724](https://github.com/YaleSTC/reservations/issues/724)). diff --git a/app/assets/stylesheets/catalog/_index.css.scss b/app/assets/stylesheets/catalog/_index.css.scss index d8836f06c..84c0b0cb0 100644 --- a/app/assets/stylesheets/catalog/_index.css.scss +++ b/app/assets/stylesheets/catalog/_index.css.scss @@ -38,6 +38,11 @@ margin-bottom: 19px; } +.availability-num { + @include giant-number; + text-align: center; +} + .caption_cat { padding: 0px 9px 0px 9px; } a.not-qualified-icon { diff --git a/app/views/catalog/_equipment_model_div.html.erb b/app/views/catalog/_equipment_model_div.html.erb index 0e1e61c92..632bd5592 100644 --- a/app/views/catalog/_equipment_model_div.html.erb +++ b/app/views/catalog/_equipment_model_div.html.erb @@ -7,13 +7,13 @@
+
<%= available_string %>