Move window titles into their own div
This commit is contained in:
parent
99a99dae34
commit
a8763fbf49
|
@ -20,7 +20,7 @@ ul {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
.window {
|
.window-title {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
padding: 7px 4px;
|
padding: 7px 4px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<ul id="window-list">
|
<ul id="window-list">
|
||||||
{% for window in windows %}
|
{% for window in windows %}
|
||||||
<li class="window" window-id={{ window.id }}>
|
<li class="window" window-id={{ window.id }}>
|
||||||
|
<div class="window-title">
|
||||||
Window - {{ window.tabs|length }} tabs
|
Window - {{ window.tabs|length }} tabs
|
||||||
</li>
|
</div>
|
||||||
{% include "tab-list.html.twig" with {'tabs': window.tabs} %}
|
{% include "tab-list.html.twig" with {'tabs': window.tabs} %}
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ul class="tab-list">
|
<ul class="tab-list">
|
||||||
{% for tab in tabs %}
|
{% for tab in tabs %}
|
||||||
<li class="tab" tab-id={{ tab.id }}>
|
<li class="tab" tab-id={{ tab.id }}>
|
||||||
<span class="title">
|
<span class="tab-title">
|
||||||
{{ tab.title }}
|
{{ tab.title }}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue