Skip to content

Commit

Permalink
Thing add page: Fix header styling for input field
Browse files Browse the repository at this point in the history
Follow-up for #2771.
Fixes #2771 (comment).

Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Sep 30, 2024
1 parent 91c7c16 commit c4d900f
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<f7-page @page:afterin="onPageAfterIn" @page:beforeout="onPageBeforeOut">
<f7-page class="choose-thing-type" @page:afterin="onPageAfterIn" @page:beforeout="onPageBeforeOut">
<f7-navbar :title="`Add a new Thing: ${bindingId}`" back-link="Back">
<f7-subnavbar :inner="false" v-show="initSearchbar">
<f7-searchbar
Expand All @@ -23,10 +23,10 @@
</div>
</div>
<p class="margin-left margin-right no-margin-bottom" style="height: 30px" id="scan-progress" />
<f7-block-title v-if="inputSupported" style="margin-bottom: calc(var(--f7-block-title-margin-bottom) - var(--f7-list-margin-vertical))">
<f7-block-title v-if="inputSupported">
Scan Input
</f7-block-title>
<config-sheet v-if="inputSupported" :parameter-groups="[]" :parameters="inputParameters" :configuration="inputConfig" />
<config-sheet v-if="inputSupported" class="scan-input" :parameter-groups="[]" :parameters="inputParameters" :configuration="inputConfig" />
<f7-block-title v-if="discoverySupported && scanResults.length">
Discovered Things
</f7-block-title>
Expand Down Expand Up @@ -77,6 +77,13 @@
</f7-page>
</template>

<style lang="stylus">
.choose-thing-type
.scan-input
.list
margin-top 0
</style>

<script>
import ConfigSheet from '@/components/config/config-sheet.vue'
Expand Down

0 comments on commit c4d900f

Please sign in to comment.