Replacing Media Breakpoints with sass variables

Post Reply
aflorin
Posts: 46
Joined: 13 Dec 2017, 19:01

22 Dec 2017, 23:52

Looks like the @media breakpoints are hard coded in the .scss files.

It would be great if those hard coded values were replaced with variables so we could override them.

My current layout has very little in the top bar so I don't need it to collapse at 1025px but I can only change that by editing _main.scss directly.

Thanks,

Alex

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

03 Jan 2018, 16:35

Can you give me an example which hard code or which .scss file?

aflorin
Posts: 46
Joined: 13 Dec 2017, 19:01

17 Jan 2018, 21:26

The one I was looking to customize was this one:

@media (min-width: 1025px) {
.layout-wrapper {

It is located in _main.scss

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

26 Jan 2018, 10:34

Thanks, we will fix.

Post Reply

Return to “Avalon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest