mirror of
https://github.com/gSpotx2f/luci-app-disks-info.git
synced 2025-01-07 03:07:11 +08:00
Fixed svg
This commit is contained in:
parent
75b39132b6
commit
81bd4ee45e
@ -411,7 +411,7 @@ return L.view.extend({
|
||||
let text = document.createElementNS('http://www.w3.org/2000/svg', 'text');
|
||||
text.setAttribute('x', 0);
|
||||
text.setAttribute('y', i - 3);
|
||||
text.setAttribute('style', 'fill:#eee; font-size:normal; text-shadow:1px 1px 1px #000');
|
||||
text.setAttribute('style', 'fill:#eee; font-family:monospace; font-size:14px; text-shadow:1px 1px 1px #000');
|
||||
if(c % 2 === 0) {
|
||||
text.appendChild(document.createTextNode(((svgHeight - i) / tempValueMul) + tempOffset + ' °C'));
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user