Mobile view and available width of the body content

Permalink Browser Info Environment
Hello!

I was wondering if there is any easy way to fix the available width and real estate on mobile view.
The mobile view port is centred but there is too much padding on the side which is due to a media query

@media (max-width: 479px)
.container, #header.full-header .container, .container-fullwidth {
    width: 310px !important; 
}


This is in responsive.less which is a compiled version being rendered out.

This make it quite unusual on mobiles where the viewable area seems to be quite less.

See attachment 1 - where the media query and the width of 310 px in action.
If I remove this by fiddling in browser it makes it perfect.
See second attachment.
I am not quite sure why do we need to have 310px locked down for mobile view.

Hence, I was wondering if I can get an easy fix for this.

Thanks,
Sharad

2 Attachments

Type: Ticket
Status: Archived
sharadkap
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi,
You can comment out that line?
echan101 replied on at Permalink Reply
echan101
Try this:
@media (max-width: 479px) {
.container,
#header.full-header .container,
.container-fullwidth { width: auto !important; }
}
@media (min-width: 480px) and (max-width: 767px) {
.container,
#header.full-header .container,
.container-fullwidth { width: auto !important; }
}
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

Concrete5 8.2.1

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.