Skip to content

Commit

Permalink
place side-by-side
Browse files Browse the repository at this point in the history
  • Loading branch information
LDannijs committed Oct 4, 2023
1 parent 1a6c6f0 commit 7960692
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
6 changes: 4 additions & 2 deletions website/layouts/_default/term.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<main>
{{ $title := printf "Tag: %s" .Title}}
{{ partial "banner.html" (dict "title" $title "description" .Description) }}
{{ partial "tagdropdown.html" . }}
{{ partial "vendordropdown.html" . }}
<div class="dropdown-container">
{{ partial "tagdropdown.html" . }}
{{ partial "vendordropdown.html" . }}
</div>
{{ partial "device-list.html" (dict "devices" ( .Pages ) ) }}
</main>
{{ end }}
6 changes: 4 additions & 2 deletions website/layouts/devices/list.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{ define "main" }}
<main>
{{ partial "banner.html" (dict "title" .Title "description" .Description) }}
{{ partial "tagdropdown.html" . }}
{{ partial "vendordropdown.html" . }}
<div class="dropdown-container">
{{ partial "tagdropdown.html" . }}
{{ partial "vendordropdown.html" . }}
</div>
{{ partial "device-list.html" (dict "devices" ( .Pages ) ) }}
</main>
{{ end }}
6 changes: 4 additions & 2 deletions website/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{{ define "main" }}
<main aria-role="main">
{{ partial "banner.html" (dict "title" "Device Repository for LoRaWAN®" "description" .Description) }}
{{ partial "tagdropdown.html" . }}
{{ partial "vendordropdown.html" . }}
<div class="dropdown-container">
{{ partial "tagdropdown.html" . }}
{{ partial "vendordropdown.html" . }}
</div>
{{ partial "device-list.html" (dict "devices" ( where site.RegularPages "Section" "devices" ) ) }}
</main>
{{ end }}
10 changes: 7 additions & 3 deletions website/src/styles/global.styl
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ select
border: none
border-radius: 0.5em
border-style: solid
margin: 0 auto
display: block
margin: 10px
width: 20%
padding: 0.75em
margin-bottom: var(--ls-xs)
margin-bottom: var(--ls-xs)

.dropdown-container
display: flex;
justify-content: center
align-items: center

0 comments on commit 7960692

Please sign in to comment.