Skip to content

Commit

Permalink
Minor style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Aug 29, 2024
1 parent cec4905 commit a1de753
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ input.checkbox-input {
display: none;
}

/* some selects are empty (e.g. before activating conditional options) */
.select select[multiple] {
min-width: 10rem;
}

/** Tooltips */


Expand Down Expand Up @@ -295,3 +300,16 @@ div.label-smaller {
border-radius: 0.25rem;
}
}

/**
** Bulma overrides
*/
.select fieldset[disabled] select,
.select select[disabled],
[disabled].input,
[disabled].textarea,
fieldset[disabled] .input,
fieldset[disabled] .select select,
fieldset[disabled] .textarea {
background-color: var(--bulma-input-disabled-placeholder-color);
}
2 changes: 1 addition & 1 deletion public/js/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function tooltips() {
Array.from(document.querySelectorAll('.with-tooltip .control button.tooltip-button')).forEach(function(elem) {
const prev = elem.previousElementSibling;
const headlines = ['H1', 'H2', 'H3', 'H4', 'H5', 'H6'];
if (headlines.includes(prev.tagName)) {
if (prev && headlines.includes(prev.tagName)) {
prev.appendChild(elem);
}
});
Expand Down

0 comments on commit a1de753

Please sign in to comment.