Skip to content

Commit

Permalink
start with container
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Oct 31, 2024
1 parent 7cecbd8 commit dfa259d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions components/toolbar/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ ul.tools > li:not(.handler) > input[type="checkbox"] + label:hover {

/* ------------- */

.drop_down_container{
position: relative;
padding: 5px;
}

ul.drop_down {
width: 2.4rem;
font-size: 1.4rem;
Expand Down
5 changes: 4 additions & 1 deletion components/toolbar/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@ CaToolbar.prototype.__createDropDown = function(options) {
li.appendChild(icon);

// create drop_down
const _drop_container = document.createElement('div');

Check failure on line 533 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Identifier '_drop_container' is not in camel case

Check failure on line 533 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Identifier '_drop_container' is not in camel case
_drop_container.classList.add("drop_down_container")

Check failure on line 534 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Strings must use singlequote

Check failure on line 534 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Missing semicolon

Check failure on line 534 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Strings must use singlequote

Check failure on line 534 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Missing semicolon
const _drop = document.createElement('ul');
_drop.classList.add('drop_down');

Expand All @@ -541,7 +543,8 @@ CaToolbar.prototype.__createDropDown = function(options) {
lists.push(radio);
_drop.appendChild(radio);
}
li.appendChild(_drop);
_drop_container.appendChild(_drop)

Check failure on line 546 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Missing semicolon

Check failure on line 546 in components/toolbar/toolbar.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Missing semicolon
li.appendChild(_drop_container);

function getStatus(e) {
const args = {};
Expand Down

0 comments on commit dfa259d

Please sign in to comment.