Commit f5da822c authored by Arthur Verschaeve's avatar Arthur Verschaeve

Epitome: remove count from `clear completed` button

parent f7c4daee
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</li> </li>
</ul> </ul>
<% if (completed) { %> <% if (completed) { %>
<button id="clear-completed">Clear completed (<%=completed%>)</button> <button id="clear-completed">Clear completed</button>
<% } %> <% } %>
</script> </script>
<script src="node_modules/todomvc-common/base.js"></script> <script src="node_modules/todomvc-common/base.js"></script>
......
...@@ -316,20 +316,10 @@ html #clear-completed:active { ...@@ -316,20 +316,10 @@ html #clear-completed:active {
line-height: 20px; line-height: 20px;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
visibility: hidden;
position: relative; position: relative;
} }
#clear-completed::after { #clear-completed:hover {
visibility: visible;
content: 'Clear completed';
position: absolute;
top: 0;
right: 0;
white-space: nowrap;
}
#clear-completed:hover::after {
text-decoration: underline; text-decoration: underline;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment