Skip to content

Commit

Permalink
Better margin and set textContent instead
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Jun 28, 2020
1 parent 1ead2fd commit cfb86c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard.js
Expand Up @@ -72,11 +72,11 @@ function updateClasses() {

function init () {
const details = document.createElement('details')
details.classList.add('position-relative', 'js-dropdown-details', 'details-overlay')
details.classList.add('position-relative', 'js-dropdown-details', 'details-overlay', 'mb-2')
details.style.userSelect = 'none'
const summary = document.createElement('summary')
summary.classList.add('btn', 'btn-sm')
summary.innerText = 'Filter'
summary.textContent = 'Filter'
const container = document.createElement('div')
container.classList.add('dropdown-menu', 'dropdown-menu-se', 'f5')
container.style.width = '260px'
Expand Down

0 comments on commit cfb86c2

Please sign in to comment.