Skip to content

Commit

Permalink
Fix inconsistent cell max-width (#1583)
Browse files Browse the repository at this point in the history
Fixes #1567 (sort of)

Signed-off-by: Yannick Schaus <github@schaus.net>
  • Loading branch information
ghys authored Dec 15, 2022
1 parent 40f85c7 commit 5dd12db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<style lang="stylus">
.oh-cell-container
display block
--oh-default-cell-tablet-width var(--f7-card-expandable-tablet-width)
.configure-layout-menu
position relative
right 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
</template>

<style lang="stylus">
@media (min-width: 768px) and (min-height: 670px)
.cell-expanded-thin:not(.card-tablet-fullscreen)
max-width var(--oh-default-cell-tablet-width) !important
.cell-expanded-thin
--f7-card-expandable-tablet-width 400px
.cell-rollershutter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
</template>

<style lang="stylus">
@media (min-width: 768px) and (min-height: 670px)
.cell-expanded-thin:not(.card-tablet-fullscreen)
max-width var(--oh-default-cell-tablet-width) !important
.cell-expanded-thin
--f7-card-expandable-tablet-width 400px
.cell-slider
Expand Down

0 comments on commit 5dd12db

Please sign in to comment.