Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for up to Unraid 7.0.1 #5

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
2. Open the Theme Engine settings, from the Unraid Settings page
3. Toggle from `Basic view` to `Advanced view`
4. Set `Enable custom styling` to `Yes`
5. Copy and paste the code from [custom.css](./custom.css) into the `Custom styling (advanced)` field
5. Copy and paste the following code into the `Custom styling (advanced)` field:
```html
</style>
<link type="text/css" rel="Stylesheet" href="https://rawcdn.githack.com/ccmoris/unraid-gui-responsive/refs/heads/main/custom.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
```
6. Click apply
7. Enjoy from your phone/tablet

Expand Down
27 changes: 17 additions & 10 deletions custom.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/**
* https://github.com/ccmorris/unraid-gui-responsive
* Last modified: 2024-03-24
* Last modified: 2025-02-26
*/

@media (max-width: 1260px) {
p {
text-align: left;
}

#displaybox,
#template {
min-width: auto;
margin: 0;
Expand Down Expand Up @@ -66,8 +67,20 @@
table.tablesorter.shift {
margin: 0;
}
table.share_status {
white-space: normal;

table.disk_status,
table.share_status,
table.plugins,
table#docker_containers,
table#kvm_table,
table.dashboard > tbody {
max-width: 100%;
overflow-x: auto;
display: block;
}

span.status.vhshift {
margin-right: 0;
}
}

Expand Down Expand Up @@ -291,10 +304,4 @@
display: block;
column-count: 2;
}
}

/**
* NOTE: The /style and meta viewport tags are important!
*/
</style>
<meta name="viewport" content="width=device-width, initial-scale=1" />
}