Comments (3)
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.
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.
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)
- Problem with iframe dimensions in paragraph blocks in Streamfields.
- Replace flake8 and isort with ruff HOT 1
- CSP testing setup HOT 9
- Create separate `dev` branch for Wagtail development purposes HOT 2
- modelcluster. ValueError : invalid literal for int() with base 10: 'THU' on locations pages in the admin preview HOT 1
- Inaccurate copyright message in footer HOT 1
- Documents in demo site HOT 1
- Replace ModelAdmin usage with snippets
- MultipleChooserPanel example
- Issues with loading initial data (SearchPromotion)
- Create (or change) a model to use UUID/non-integer for its primary key HOT 2
- Help text of featured sections in homepage repeats the same as in Promo title
- Guys, it uses so old packages. and gives error. I recommend don't use this demo. HOT 1
- Images in all of Wagtail’s supported formats
- Enable `USE_THOUSANDS_SEPARATOR` by default & have some larger test ids HOT 3
- Update Node/NPM libraries (Node 20)
- AttributeError: module 'dotenv' has no attribute 'read_dotenv'. Did you mean: 'load_dotenv'? HOT 3
- exec /code/docker-entrypoint.sh: no such file or directory HOT 1
- migration failed HOT 1
- Fresh install of the bakerydemo using pyenv generates 'KeyError at / <wagtail.images.models.Filter object at 0x10953ef40>' HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bakerydemo.