Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
fix: dropdown styles
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaOak committed Dec 9, 2020
1 parent 4c0b57c commit 67c14c7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Sidebar extends LitElement {
<div class="level-item">
<div class="dropdown is-hoverable">
<div class="dropdown-trigger">
<button class="button" aria-haspopup="true" aria-controls="dropdown-menu4">
<button class="button dropdown-sidebar" aria-haspopup="true" aria-controls="dropdown-menu4">
<span>Home</span>
<span class="icon is-small">
<i class="fas fa-angle-down" aria-hidden="true"></i>
Expand Down
7 changes: 7 additions & 0 deletions style/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ a.network {
margin: 30px 0 5px 0;
}

// Sidebar Dropdown

button.button.dropdown-sidebar {
background-color: transparent;
border: none;
}

// Top Bar
.top-nav {
margin: 0.5em 2.5em 0.5em 2.5em;
Expand Down
9 changes: 9 additions & 0 deletions style/testing-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,15 @@ body {
margin: 3%;
}

// Dropdown
button.button.dropdown-sidebar {
background-color: brown;
}

.level.sidebar-dropdown {
margin-bottom: 0;
}

// Main content
.main-content {
height: 100%;
Expand Down

0 comments on commit 67c14c7

Please sign in to comment.