TeraTech / MMM-WiFiPassword

Magic Mirror Module that displays your WiFi network, password with QRCode
MIT License
99 stars 19 forks source link

White Line above QR-Code #12

Closed yuzedo closed 2 years ago

yuzedo commented 3 years ago

Describe the bug In the github preview image there is no white line above the QR-Code Integrating the module adds a white line which I want to remove.

To Reproduce Steps to reproduce the behavior:

  1. Install MMM-WifiPassword
  2. Launch MM
  3. See error

Expected behavior There should not be a white line - as seen in the preview image.

Screenshots

yuzedo commented 3 years ago

Here is my config:

 qrSize: 150,
  colorDark: "#000",
  colorLight: "#fff",
  authType: "WPA", 
  header: "", 
  network: "censored",
  password: "censored",
  hiddenId: false,
  layoutVertical: true,  
  showNetwork: true, 
  showPassword: true, 
  showAuthType: false,
  debug: false
yuzedo commented 3 years ago

Found out it has to do something with the CSS but I can't seem to find which entry I have to edit. Is there a way to change the font as well?

CFenner commented 2 years ago

@yuzedo this is due to the empty header line in your config. I added #19 to fix this. Also the header should not be rendered by the module from my point of view but by the module framework.

BTW: Your WIFI settings can be decoded from the QR code you provided.