Skip to content

Commit

Permalink
webapp: don't use content or main elements
Browse files Browse the repository at this point in the history
  • Loading branch information
aiooss-anssi committed May 31, 2024
1 parent 465d67e commit 5ab1129
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions webapp/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ select.is-active {
border-color: #ac80ff !important;
}

/* Make active nav pills less visible in flow display */
content .nav-pills {
/* Change nav pills active color */
.nav-pills {
--bs-nav-pills-link-active-bg: #495057;
}

Expand Down
8 changes: 4 additions & 4 deletions webapp/templates/index.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</symbol>
</svg>

<main class="d-flex flex-nowrap h-100" id="app" data-start-date="{{ ctf_config.start_date }}" data-tick-length="{{ ctf_config.tick_length }}">
<div class="d-flex flex-nowrap h-100" id="app" data-start-date="{{ ctf_config.start_date }}" data-tick-length="{{ ctf_config.tick_length }}">
<nav class="d-flex flex-column align-items-stretch flex-shrink-0 bg-body shadow nav-flow">
<div class="d-flex flex-nowrap border-bottom">
<select class="form-select form-select-sm rounded-0 border-0" id="services-select">
Expand Down Expand Up @@ -105,7 +105,7 @@
</div>
</nav>

<content class="vstack overflow-y-scroll">
<div class="vstack overflow-y-scroll">
<!-- Welcome section, shown only when no flows are selected -->
<div class="my-auto text-center p-2" id="display-welcome">
<img src="static/favicon.svg" alt="" width="80">
Expand Down Expand Up @@ -168,8 +168,8 @@
</div>
</section>
</div>
</content>
</main>
</div>
</div>
</body>

</html>

0 comments on commit 5ab1129

Please sign in to comment.