[KiRi] Moved style from JS to CSS

- Sheet page icon margins
This commit is contained in:
Salvador E. Tropea 2023-12-11 08:05:23 -03:00
parent 81ebf36720
commit 8101c885a0
2 changed files with 6 additions and 1 deletions

View File

@ -343,3 +343,8 @@ hr {
height: 1px;
border: 0;
}
.icon-sheet-page {
margin-left: 0.5em;
margin-right: 0.1em;
}

View File

@ -770,7 +770,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">
<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>
<span data-toggle="tooltip" title="${sheet}" class="iconify icon-sheet-page" data-icon="gridicons:pages" data-inline="false"></span>
${sheet}
</label>
</label>