Border for mobile devices

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
tbegsr
Posts: 19
Joined: 25 Jul 2016, 18:07
Location: Suisse

27 Jan 2021, 08:20

Thank you for your great work with the 10.1 design
The border on a mobile device use a lot of spaces on left and right
Is it possible to reduce the space?
Image

Thank you

mcandu
Posts: 107
Joined: 20 Jan 2021, 16:31

04 Feb 2021, 14:36

Hi,

@merve Could you please check this issue?

Best Regards,

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

09 Feb 2021, 10:19

Hi,
Firstly, glad to hear you like it.
Yes, you can override these spaces. Now, the template uses 2rem padding and you can reduce in your stylesheet or override file (src/assets/sass/overrides/_layout_styles.scss). Like the below code;

Code: Select all

//now
.layout-wrapper .layout-main .layout-content {
    padding: 2rem;
}

//example
.layout-wrapper .layout-main .layout-content {
    padding: 1rem;
}
or you can write mediaquery for only mobile devices.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests