question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft Edge: Transparent header in 5.x

See original GitHub issue

Description

Microsoft Edge displays a transparent header in mkdocs-material 5.x. In the previous 4.x releases, Microsoft Edge used to display the background color correctly as defined in theme['palette']['primary'].

I’ve noticed that if you inspect the corresponding md-header DOM element, it will show you that the CSS attribures color/background-color are set correctly to var(--md-primary-fg-color)/var(--md-primary-bg-color). So my guess is that there is something wrong with the fade-in animation; browser-specific instructions my be needed.

Expected behavior

Edge renders the header background color as defined in theme['palette']['primary']

Actual behavior

Edge renders a transparent header background

Steps to reproduce the bug

  1. Serve a mkdocs documentation with the mkdocs-material enabled
  2. Open documentation in Edge

Package versions

  • Python: 3.7.3
  • MkDocs: 1.1.2
  • Material: 5.2.1

Project configuration

theme:
  name: material
  language: en
  features:
    - instant
  palette:
    scheme: default
    primary: grey
    accent: blue
  font:
    text: Roboto
    code: Roboto Mono
  logo: img/logo.png

System information

  • OS: Windows 10
  • Browser: Edge 44

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
squidfunkcommented, May 25, 2020

Fixed in 24b185a7.

0reactions
squidfunkcommented, May 26, 2020

Released as part of 5.2.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edge Transparent Menus - Microsoft Community Hub
The new transparent menus in Edge are not usable. When I right click on something I can see the transparent menu appear, but...
Read more >
Making a header or footer less Opaque when you close the ...
Hi: I am in the process of creating a letterhead for myself and have added an image which I took from Photoshop to...
Read more >
Microsoft Edge Browser Policy Documentation
Windows and Mac documentation for all policies supported by the Microsoft Edge Browser.
Read more >
Make Microsoft Edge your own with themes
All of these themes are available exclusively in Microsoft Edge. ... The themes are currently just to make the header of edge look...
Read more >
Video: Headers and footers - Microsoft Support
This video is all about changing the margin of the headers and footers, without affecting the rest of the document. Change the header...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found