Move window titles into their own div

This commit is contained in:
Nick Krichevsky 2018-06-28 23:34:25 -04:00
parent 99a99dae34
commit a8763fbf49
3 changed files with 6 additions and 4 deletions

View file

@ -20,7 +20,7 @@ ul {
cursor: pointer;
user-select: none;
.window {
.window-title {
font-weight: 600;
padding: 7px 4px;
}

View file

@ -1,8 +1,10 @@
<ul id="window-list">
{% for window in windows %}
<li class="window" window-id={{ window.id }}>
Window - {{ window.tabs|length }} tabs
<div class="window-title">
Window - {{ window.tabs|length }} tabs
</div>
{% include "tab-list.html.twig" with {'tabs': window.tabs} %}
</li>
{% include "tab-list.html.twig" with {'tabs': window.tabs} %}
{% endfor %}
</ul>

View file

@ -2,7 +2,7 @@
<ul class="tab-list">
{% for tab in tabs %}
<li class="tab" tab-id={{ tab.id }}>
<span class="title">
<span class="tab-title">
{{ tab.title }}
</span>
</li>