[KiRi] Moved style from JS to CSS

- For items in the list of pages/layers
This commit is contained in:
Salvador E. Tropea 2023-12-11 08:00:40 -03:00
parent a7ad89c8d7
commit 81ebf36720
2 changed files with 4 additions and 1 deletions

View File

@ -31,6 +31,9 @@ html, body {
.list-group-item {
user-select: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.list-group input[type="checkbox"] {

View File

@ -769,7 +769,7 @@ function update_sheets_list(commit1, commit2) {
{
var input_html = `
<input id="${sheet}" data-toggle="tooltip" title="${sheet}" type="radio" value="${sheet}" name="pages" onchange="update_selected_page()">
<label for="${sheet}" data-toggle="tooltip" title="${sheet}" id="label-${sheet}" class="rounded text-sm-left list-group-item radio-box" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
<label for="${sheet}" data-toggle="tooltip" title="${sheet}" id="label-${sheet}" class="rounded text-sm-left list-group-item radio-box">
<span data-toggle="tooltip" title="${sheet}" style="margin-left:0.5em; margin-right:0.1em;" class="iconify" data-icon="gridicons:pages" data-inline="false"></span>
${sheet}
</label>