mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 08:56:07 +00:00
fix(instances): the VM page's section bars fill their row
The buttons of the VM page's section bar and of the Settings bar under it sat at the start of the row and left its end empty. Both bars now share the whole row out among their buttons (Bootstrap's nav-fill), also when they wrap on a narrow screen.
This commit is contained in:
parent
960f0eb388
commit
f101a8fba7
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@
|
|||
</dl>
|
||||
</div>
|
||||
<div class="card-footer p-2">
|
||||
<ul class="nav nav-pills flex-wrap flex-lg-nowrap gap-1 small" id="navbtn" role="tablist" aria-label="{% trans "Instance actions" %}">
|
||||
<ul class="nav nav-pills nav-fill flex-wrap flex-lg-nowrap gap-1 small" id="navbtn" role="tablist" aria-label="{% trans "Instance actions" %}">
|
||||
{# a template is cloned, not run: no power, access, snapshots or stats #}
|
||||
{% if not instance.is_template %}
|
||||
<li class="nav-item" role="presentation">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<!-- Nav tabs -->
|
||||
<div class="card">
|
||||
<div class="card-header bg-transparent pb-0">
|
||||
<ul class="nav nav-underline small" role="tablist" aria-label="Instance settings">
|
||||
<ul class="nav nav-underline nav-fill small" role="tablist" aria-label="Instance settings">
|
||||
{% if instance.guest_agent_ready %}
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="px-1 nav-link" data-bs-toggle="tab" id="osinfo-tab" data-bs-target="#osinfo" type="button" role="tab" aria-controls="osinfo" aria-selected="false" onclick="get_osinfo();">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue