[PR #267] fix: directive editor background and Modal in dark mode #5365

Closed
opened 2026-03-01 15:41:19 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/0xJacky/nginx-ui/pull/267

State: closed
Merged: Yes


修复了前端深色模式下的两个问题:

  1. 有 3 处 Modal 的导入方式不对,导致在深色模式下 Modal 还是浅色
截屏2024-01-29 11 46 06
  1. 编辑站点的“指令”部分的注释背景没有适配深色模式
image

(顺便问一下,Modal 不加背景遮罩是有什么考虑吗?个人感觉层级有点不明显,并且其它一些地方的一些 Modal 又有遮罩

**Original Pull Request:** https://github.com/0xJacky/nginx-ui/pull/267 **State:** closed **Merged:** Yes --- 修复了前端深色模式下的两个问题: 1. 有 3 处 `Modal` 的导入方式不对,导致在深色模式下 Modal 还是浅色 <img width="533" alt="截屏2024-01-29 11 46 06" src="https://github.com/0xJacky/nginx-ui/assets/62269186/d3bbe3e0-63b7-4840-9cfc-66c327774429"> 2. 编辑站点的“指令”部分的注释背景没有适配深色模式 <img width="1262" alt="image" src="https://github.com/0xJacky/nginx-ui/assets/62269186/a656ae24-5fbc-46a6-9d1e-80fe7d740391"> (顺便问一下,Modal 不加背景遮罩是有什么考虑吗?个人感觉层级有点不明显,并且其它一些地方的一些 Modal 又有遮罩
kerem 2026-03-01 15:41:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#5365
No description provided.