luci-theme-argon icon indicating copy to clipboard operation
luci-theme-argon copied to clipboard

Display bug on luci-mod-dashboard

Open pypykim opened this issue 2 years ago • 4 comments

Describe the bug Display problem if I install luci-mod-dashboard

To Reproduce Steps to reproduce the behavior:

  1. opkg install luci-mod-dashboard then login to web management

Expected behavior same as other form or table

Screenshots 微信图片_20220411212220

Openwrt (please complete the following information):

  • Versiosn: 21.02.2
  • Theme agron
  • Version 2.2.9

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: chrome
  • Version: 100

pypykim avatar Apr 11 '22 13:04 pypykim

on dark mode it looks even worse, headers and tables on bottom completly unreadable

image

kavillock avatar Jun 03 '22 17:06 kavillock

Issue still exists in OpenWrt 23.05.2

Nero-devbot avatar Nov 16 '23 09:11 Nero-devbot

Issue still exists in OpenWrt 23.05.2, but Dark Reader save my life

muink avatar Nov 19 '23 12:11 muink

The problem is that luci-mod-dashboard provides it's own CSS file that gets inserted via JS at the end of the head after the header has been loaded

Since it's loaded after the main argon stylesheet it takes precedence, so even if custom dashboard styling was added to the main argon stylesheets, I don't think it would override the custom.css provided by the dashboard package.

Currently trying to figure out a way around this.

Ridog avatar Nov 27 '23 19:11 Ridog