text in block center
Posted: Thursday 17 October 2019 13:13
hi,
how can I center the text in the blocks.
This my config.js
blocks = {}
//schakelaars
blocks[18] = { //soldeerbout
width: 12,
hide_data: true,
icon: 'fas fa-fire'
}
blocks[19] = { //oplader accu
width: 12,
hide_data: true,
icon: 'fas fa-battery-half'
}
blocks[20] = { //lijmpistool
width: 12,
hide_data: true,
icon: 'fas fa-tint'
}
blocks[12] = { //licht werkbank
width: 12,
hide_data: true
}
//columns
columns = {}
columns[1] = {
blocks : [18, 19],
width: 6
}
columns[2] = {
blocks : [20, 12],
width: 6
}
//Definition of screens
screens = {}
screens[1] = {
columns: [1, 2]
}
Thank you
how can I center the text in the blocks.
This my config.js
blocks = {}
//schakelaars
blocks[18] = { //soldeerbout
width: 12,
hide_data: true,
icon: 'fas fa-fire'
}
blocks[19] = { //oplader accu
width: 12,
hide_data: true,
icon: 'fas fa-battery-half'
}
blocks[20] = { //lijmpistool
width: 12,
hide_data: true,
icon: 'fas fa-tint'
}
blocks[12] = { //licht werkbank
width: 12,
hide_data: true
}
//columns
columns = {}
columns[1] = {
blocks : [18, 19],
width: 6
}
columns[2] = {
blocks : [20, 12],
width: 6
}
//Definition of screens
screens = {}
screens[1] = {
columns: [1, 2]
}
Thank you