jerrykuku / luci-theme-argon

Argon is a clean and tidy OpenWrt LuCI theme that allows users to customize their login interface with images or videos. It also supports automatic and manual switching between light and dark modes.
Apache License 2.0
4.15k stars 805 forks source link

Display bug on luci-mod-dashboard #305

Open pypykim opened 2 years ago

pypykim commented 2 years ago

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):

Desktop (please complete the following information):

kavillock commented 2 years ago

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

image

Nero-devbot commented 1 year ago

Issue still exists in OpenWrt 23.05.2

muink commented 1 year ago

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

Ridog commented 1 year ago

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.