Skip to content

Commit

Permalink
🖍️ Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AminoffZ committed Dec 25, 2023
1 parent 65fdda5 commit 30b6556
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/internal/dom-manipulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function insertToFileExplorer(

td.classList.add('grs');
td.style.setProperty('text-wrap', 'nowrap');
td.style.setProperty('text-align', 'right');
td.appendChild(span);
row.insertBefore(td, row.childNodes[row.childNodes.length - 1]);
}
Expand Down
3 changes: 3 additions & 0 deletions src/scripts/internal/element-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export function createSizeLabel() {
const span = document.createElement('span');
span.innerText = 'Size';
th.className = 'grs grs-size';
th.style.setProperty('text-align', 'right');
th.style.setProperty('text-wrap', 'nowrap');
th.style.setProperty('overflow', 'hidden');
th.appendChild(span);
return th;
}
Expand Down

0 comments on commit 30b6556

Please sign in to comment.