Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove padding in list grouping toolbar #2347

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<f7-block-title class="searchbar-hide-on-search">
{{ pages.length }} pages
</f7-block-title>
<div class="padding-left padding-right searchbar-found" v-show="!ready || pages.length > 0">
<div class="searchbar-found padding-left padding-right" v-show="!ready || pages.length > 0">
<f7-segmented strong tag="p">
<f7-button :active="groupBy === 'alphabetical'" @click="switchGroupOrder('alphabetical')">
Alphabetical
Expand Down Expand Up @@ -148,6 +148,13 @@
</f7-page>
</template>

<style lang="stylus">
.searchbar-found
@media (min-width 960px)
padding-left 0 !important
padding-right 0 !important
</style>

<script>
export default {
data () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<label @click="toggleIgnored" style="cursor:pointer">Show ignored</label> <f7-checkbox :checked="showIgnored" @change="toggleIgnored" />
</div>
</f7-block-title>
<div class="padding-left padding-right searchbar-found" v-show="!ready || inboxCount > 0">
<div class="searchbar-found padding-left padding-right" v-show="!ready || inboxCount > 0">
<f7-segmented strong tag="p">
<f7-button :active="groupBy === 'alphabetical'" @click="switchGroupOrder('alphabetical')">
Alphabetical
Expand Down Expand Up @@ -116,6 +116,13 @@
</f7-page>
</template>

<style lang="stylus">
.searchbar-found
@media (min-width 960px)
padding-left 0 !important
padding-right 0 !important
</style>

<script>
export default {
components: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@
<style lang="stylus">
.things-list
margin-bottom calc(var(--f7-fab-size) + 2 * calc(var(--f7-fab-margin) + var(--f7-safe-area-bottom)))

.searchbar-found
@media (min-width 960px)
padding-left 0 !important
padding-right 0 !important
</style>

<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<f7-block-title class="searchbar-hide-on-search">
{{ transformations.length }} transformations
</f7-block-title>
<div class="padding-left padding-right searchbar-found">
<div class="searchbar-found padding-left padding-right">
<f7-segmented strong tag="p">
<f7-button :active="groupBy === 'alphabetical'" @click="switchGroupOrder('alphabetical')">
Alphabetical
Expand Down Expand Up @@ -117,6 +117,13 @@
</f7-page>
</template>

<style lang="stylus">
.searchbar-found
@media (min-width 960px)
padding-left 0 !important
padding-right 0 !important
</style>

<script>

export default {
Expand Down