GithubHelp home page GithubHelp logo

giant orange chevrons? about bakerydemo HOT 3 CLOSED

Amondale avatar Amondale commented on June 10, 2024
giant orange chevrons?

from bakerydemo.

Comments (3)

Amondale avatar Amondale commented on June 10, 2024 1

Looks like I need to clear Firefox' cache between testing two different versions of bakerydemo. All fixed! My first and best clue was opening Firefox in a private window and seeing the expected chrome from Wagtail!

from bakerydemo.

Amondale avatar Amondale commented on June 10, 2024

@thibaudcolas:

Following code change got it looking somewhat normal [templates/tags/breadcrumbs.html]. I'd assume the problem was/is in includes/chevron-icon.html, which is just a container for an SVG containing a chevon? No idea why it renders so huge, but I know nothing about SVG rendering either.

      <li><a href="{% pageurl ancestor %}">{% if forloop.first %}Home{% else %}{{ ancestor }}{% endif %}</a>
        <!-- {% include "includes/chevron-icon.html" with class="breadcrumb__chevron-icon" %}-->
      </li>

from bakerydemo.

Amondale avatar Amondale commented on June 10, 2024

It is almost like wagtail is offering up a mobile view, in the non-working environ, with all pics scaled to full width rather than stacked 2-across (breads, locations). Is there any django tool for detecting browser capabilities? I've look through the Wagtail docs and not seeing anything referencing "mobile" views.

In Chrome, images are laid out in a more normal fashion, 2-across for locations. And, we're missing the gigantic orange chevrons on a grey background (I did dump the cache and turned off NoScript in Firefox)

However, all nav controls are "mobile-like" in chrome (3 horiz lines, a.k.a. "hamburger"). Also the fontawesome fonts are rendered correctly in Chrome, and there's no grey background as you'd expect in a mobile view.

Still researching, no longer feel the SVG is at fault, at least if Chrome renders the pages without the 2000-px grey background and orange chevrons as seen in Firefox.

from bakerydemo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.