Skip to content

Commit

Permalink
fix some styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dt2patel committed Jan 16, 2025
1 parent 7902c71 commit 37a0e2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ http://ionicframework.com/docs/theming/ */

@media (min-width: 991px) {
.list-item {
padding: var(--spacer-sm) 0;
padding-block: var(--spacer-sm);
}

ion-searchbar.searchbar {
.searchbar {
padding-top: var(--spacer-base);
padding-inline: var(--spacer-sm)
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/Closed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
</ion-header>

<ion-content ref="contentRef" :scroll-events="true" @ionScroll="enableScrolling()" id="filter">
<ion-searchbar class="searchbar" v-model="query.queryString" @keyup.enter="updateQueryString('queryString', $event.target.value)" />
<p v-if="!cycleCounts.length" class="empty-state">
{{ translate("No cycle counts found") }}
</p>
<template v-else>
<div class="header">
<div class="header searchbar">
<ion-searchbar v-model="query.queryString" @keyup.enter="updateQueryString('queryString', $event.target.value)" />
<ion-item lines="full">
<ion-icon slot="start" :icon="listOutline"/>
<ion-label>{{ translate("Counts closed") }}</ion-label>
Expand Down

0 comments on commit 37a0e2e

Please sign in to comment.