Skip to content

Commit

Permalink
fix(dropdown): fixed dropdown structure from *dropdown-menu -> dropdo…
Browse files Browse the repository at this point in the history
…wn-item* to *dropdown-menu -> dropdown-menu-content -> dropdown-item*
  • Loading branch information
papasikis committed Aug 7, 2017
1 parent 3f6b3e0 commit 8a435bb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 24 deletions.
54 changes: 30 additions & 24 deletions src/components/layout/navbar/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@
<span class="i-nav-messages notify"></span>
</a>
<div class="dropdown-menu">
  <a class="dropdown-item" href="#">
<span class="ellipsis">New messages from Oleg M</span>
</a>
<a class="dropdown-item" href="#">
<span class="ellipsis">New messages from Andrei H</span>
</a>
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">See all messages</a>
<div class="dropdown-menu-content">
<a class="dropdown-item" href="#">
<span class="ellipsis">New messages from Oleg M</span>
</a>
<a class="dropdown-item" href="#">
<span class="ellipsis">New messages from Andrei H</span>
</a>
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">See all messages</a>
</div>
</div>
</div>
</div>
Expand All @@ -40,17 +42,19 @@
<span class="i-nav-notification notify"></span>
</a>
<div class="dropdown-menu">
  <a class="dropdown-item" href="#">
<span class="ellipsis">Vasily S sent you a message</span>
</a>
  <a class="dropdown-item" href="#">
<span class="ellipsis">Oleg M uploaded new Zip file with typography component</span>
</a>
  <a class="dropdown-item" href="#">
<span class="ellipsis">Andrei H started a new topic</span>
</a>
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">See all notifications</a>
<div class="dropdown-menu-content">
<a class="dropdown-item" href="#">
<span class="ellipsis">Vasily S sent you a message</span>
</a>
<a class="dropdown-item" href="#">
<span class="ellipsis">Oleg M uploaded new Zip file with typography component</span>
</a>
<a class="dropdown-item" href="#">
<span class="ellipsis">Andrei H started a new topic</span>
</a>
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">See all notifications</a>
</div>
</div>
</div>
</div>
Expand All @@ -61,11 +65,13 @@
</span>
</a>
<div class="dropdown-menu">
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">My Profile</a>
</div>
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">Logout</a>
<div class="dropdown-menu-content">
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">My Profile</a>
</div>
<div class="dropdown-item plain-link-item">
<a class="plain-link" href="#">Logout</a>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
this.prevTouch = e.touches[0]
},
onDrag (e) {
console.log(e)
if (this.isDragging) {
e.preventDefault()
let touch = e.touches[0]
Expand Down

0 comments on commit 8a435bb

Please sign in to comment.