Primeflex 3 does not work without access to fonts.googleapis.com

PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages
Post Reply
zornic
Posts: 71
Joined: 09 Dec 2017, 10:12

28 Jul 2021, 09:37

Hello guys,

we have built an intranet site. This page will also run on clients that don't have access to the internet, but if the users don't have access to fonts.googleapis.com, the simple example already doesn't work and the div "col10" and "col2" will always be displayed one below the other. As well as all the controls are displayed weird.

Code: Select all

<div class="card">
    <div class="grid">

        <div class="col-10">
       </div>

        <div class="col-2">
       </div>

   </div>
</div>

edwin16966
Posts: 3
Joined: 28 Jul 2021, 15:40

28 Jul 2021, 16:05

to use primeflex 3.0 you must first uninstall version 2.x with: "npm uninstall primeflex", then you must install again with "npm install primeflex", to know if you are working with version 3.0, you must go to node_modules> primeflex> package.json. I hope it has been helpfull :)

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

26 Apr 2022, 03:16

Hi,

PrimeFlex doesn't use "fonts.googleapis.com". It uses the default font-family of the OS. So, I think this issue is not related to PrimeFlex.

Best Regards,

Post Reply

Return to “PrimeFlex”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests