Skip to content

Any way to edit the layout in an svg editor? #216

Answered by slipx06
mirams asked this question in Q&A
Discussion options

You must be logged in to vote

You will need to edit the index.ts file . Specifically the lines below

<svg viewBox="-0.5 ${!config.show_solar ? (additional_load !== 0 || !config.show_battery ? 80 : 145.33) : -0.5} 483 ${!config.show_solar ? (config.show_battery ? (additional_load !== 0 ? 350 : 270.67) : 270.67) : (!config.show_battery ? (additional_load === 2 ? 350 : 300) : 406)}"
preserveAspectRatio="xMidYMid meet"
height="${panel === false ? `${!config.show_solar && !config.show_battery ? '270px' : !config.show_solar ? (additional_load !== 0 ? '330px' : '246px') : config.show_solar && !config.show_battery ? (additional_load === 2

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mirams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants