Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3054

[SASS] Context issue with relative url import

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • None
    • None
    • None
    • 4.2 M9

      I have 2 sites :

      The two sites use the same skin.
      This skin has SCSS files with relative font import like:

      @font-face {
        font-family: 'Poppins';
        font-style: italic;
        font-weight: 300;
        src: url('../fonts/Poppins/Poppins-LightItalic-l.woff2') format('woff2');
      }
      

      On the second site, I have 404 on all fonts because the computed url to load fonts is http://localhost:9025/www/skin/SKIN/resources/font/xxx instead of http://localhost:9025/www/test/skin/SKIN/resources/font/xxx (or http://themis.anyware.corp:9025/www/skin/SKIN/resources/font/xxx ?)

            glefebvre Grégory Lefebvre (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: