Projekt

Allgemein

Profil

Aktionen

GX-Bug #65315

geschlossen

If StyleEdit4 is used there are always Google Font imported via the main.min.css

Von Till Tepelmann vor mehr als 4 Jahren hinzugefügt. Vor mehr als 4 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Sofort
Zugewiesen an:
Julian Heckmann
Kategorie:
StyleEdit 4
Zielversion:
% erledigt:

100%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
3.15.2.0, 3.15.2.1
Release Notes Langtext:

Wenn die Google Webfont URL geleert wird, führt dies nicht mehr zu einer Einbindung der Roboto Schrift direkt aus dem Google CDN


Beschreibung

If StyleEdit4 is used there are always Google Fonts load from the Google CDN.

If the URL in StyleEdit4 ist empty no fonts should be loaded over import url() inside the main.min.css

Quick Fix:

change the line in the following file:

src/themes/Honeygrid/styles/system/config/_variables.scss

$gx-font-import-url: "https://fonts.googleapis.com/css?family=Roboto:400,700,300,900" !default;

to

$gx-font-import-url: "" !default;

It can be that the variable inside the file src/themes/Honeygrid/styles/system/config/_variables.scss is not needed anymore because the fonts are download and imported from the styleedit, so every referenz in the file can be deleted.


Aktionen

Auch abrufbar als: Atom PDF