How do I stop dashticz from adapting column width on phones?

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
osirisguitar
Posts: 15
Joined: Thursday 27 August 2020 14:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

How do I stop dashticz from adapting column width on phones?

Post by osirisguitar »

I've added two columns with width 6, but on a small screen the auto switch to width 12 (column div gets class col-xs-12). Where do I change this?

Code: Select all

var columns = {}

columns[1] = {
  blocks : ['s1', 's2'],
  width: 6
}

columns[2] = {
  blocks: ['s4'],
  width: 6
}

screens = {}
screens[1] = {
  columns: [1, 2]
}
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How do I stop dashticz from adapting column width on phones?

Post by Lokonli »

That is not so easy to change.

Did you consider to put all blocks in one column?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest