Skip to content

Commit

Permalink
luci-app-diskman: partition: adapt to dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwml committed Jun 28, 2024
1 parent 063e0bd commit ef50879
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion luci-app-diskman/luasrc/view/diskman/partition_info.htm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
flex-wrap: wrap;
height:auto;
align-items: center;
border-radius: 0.375rem;
}

@media (prefers-color-scheme: dark) {
#dialog_format .dialog_box {
background: #222222 !important;
}
}

#dialog_format .dialog_line {
Expand Down Expand Up @@ -135,4 +142,4 @@
let fs_list = document.getElementById("filesystem_list")
fs_list.value = current_fs
}
</script>
</script>

0 comments on commit ef50879

Please sign in to comment.