Update CSS to support select box

This commit is contained in:
Robbie Trencheny 2019-03-09 19:10:55 -08:00
parent f675dc6b52
commit 1c5f0655b3
No known key found for this signature in database
GPG Key ID: 1E236BB235BF0021
2 changed files with 12 additions and 12 deletions

View File

@ -54,7 +54,7 @@
margin-top: 12px;
}
.added_two_versions_ago {
.version_select {
margin-bottom: 12px;
}

View File

@ -44,7 +44,7 @@ Support for these components is provided by the Home Assistant community.
<a href='#version/{{ current_version.label }}' class="btn added_in_current_version">Added in {{ current_version.label }} ({{ current_version.new_components_count }})</a>
<a href='#version/{{ one_version_ago.label }}' class="btn added_one_version_ago">Added in {{ one_version_ago.label }} ({{ one_version_ago.new_components_count }})</a>
<a href='#version/{{ two_versions_ago.label }}' class="btn added_two_versions_ago">Added in {{ two_versions_ago.label }} ({{ two_versions_ago.new_components_count }})</a>
Added in <select name="versions">
Added in <select name="versions" class="version_select">
{%- for group in components_by_version -%}
<optgroup label="{{ group.label }} ({{group.new_components_count}})">
{%- for version in group.versions -%}