connected-web / product-monitor

A HTML/JavaScript template for monitoring a product by encouraging product developers to gather all the information about the status of a product, including live monitoring, statistics, endpoints, and test results into one place.
8 stars 3 forks source link

Remove error message from status-button to keep size consistent #41

Closed Markavian closed 9 years ago

Markavian commented 9 years ago

With the additions of the sparkline graph and detailed status page; understanding the <status-button> component is much easier now, and no longer requires the extended message which causes layouts to break with the inconsistent width of the error message.

Removing the error message would keep the width of the component consistent, and make layout easier.

johnbeech commented 9 years ago

Tested fix: added hidden CSS class to this information.

<span class="hidden">{{latest.message}}</span>