Hi. I needed to create a version for large screens (1920×1080) and small screens (1366×768). Neither of them are default profiles so I edited the small desktop one, changing its max width to 1366, and added a regular desktop one with a minimum screen size of 1367.
{
“profiles”: [
{
“name”: “Phone”,
“device”: “Mobile”,
“landscape”: false
},
{
“name”: “Phone (Landscape)”,
“device”: “Mobile”,
“landscape”: true
},
{
“name”: “Tablet”,
“device”: “Tablet”,
“landscape”: false
},
{
“name”: “Tablet (Landscape)”,
“device”: “Tablet”,
“landscape”: true
},
{
“name”: “Small Desktop”,
“device”: “Desktop”,
“maxWidth”: 1366
},
{
“name”: “Desktop”,
“device”: “Desktop”,
“minScreenWidth”: 1367
}
]
but now, every time I compile the last profile I edited overwrites the other one, making them both the same. Is there a problem I’m not seeing, something I could do different, something I misunderstood? I don’t remember this happening before
Hello,
Can you provide a sample? I was unable to reproduce. Also, what version of Wisej are you using?
I’ve attached a sample where everything is working fine. Can you check this sample to see if there’s any differences from your code?
-Julie
Please login first to submit.