Skip to content

Commit

Permalink
[bug] Fix navigation arrows in item page
Browse files Browse the repository at this point in the history
  • Loading branch information
spyrosbek committed Oct 16, 2024
1 parent 8589cb2 commit 1f3b6db
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/pages/item/campaignItem.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<template>
<main>
<!-- nav arrows -->
<!--section id="nav-arrows">
<a if.bind="!isFirstItem" click.delegate="goToItem('previous')">
<i class="fa fa-chevron-circle-left" aria-hidden="true"></i>
</a>
<a show.bind="!isLastItem" click.delegate="goToItem('next')">
<section id="nav-arrows">
<div>
<a show.bind="!isFirstItem" class="previous" click.delegate="goToItem('previous')">
<i class="fa fa-chevron-circle-left" aria-hidden="true"></i>
</a>
</div>
<a show.bind="!isLastItem" class="next" click.delegate="goToItem('next')">
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
</a>
</section-->
</section>
<!-- new banner-->
<section class="banner mini detail" id="banner">
<div class="container">
Expand Down
11 changes: 11 additions & 0 deletions styles/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -8717,6 +8717,17 @@ section#nav-arrows {
justify-content: space-between;
padding: 0 32px;
align-items: center;
z-index: 10;
a {
background-color: #fff;
border-radius: 32px;
&.previous {
padding: 9px 16px;
}
&.next {
padding: 4px 16px;
}
}
a, i {
position: relative;
z-index: 1000;
Expand Down

0 comments on commit 1f3b6db

Please sign in to comment.