mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed tile text wrapping
This commit is contained in:
parent
394bd6cc94
commit
ad803838bf
@ -186,6 +186,9 @@ beestat.component.tile.prototype.decorate_right_ = function(parent) {
|
||||
const line_2_container = document.createElement('div');
|
||||
line_2_container.innerText = this.get_text_()[1];
|
||||
line_2_container.style.fontWeight = beestat.style.font_weight.light;
|
||||
line_2_container.style.whiteSpace = 'nowrap';
|
||||
line_2_container.style.overflow = 'hidden';
|
||||
line_2_container.style.textOverflow = 'ellipsis';
|
||||
parent.appendChild(line_2_container);
|
||||
} else if (this.get_text_() !== undefined) {
|
||||
const text_container = document.createElement('div');
|
||||
|
Loading…
x
Reference in New Issue
Block a user