Skip to content

Commit 5a9f2a5

Browse files
committed
style: enhance dropdown padding for improved readability in apps section
1 parent 02e56b8 commit 5a9f2a5

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Fix for Apps dropdown text padding */
2+
#appsAppSelect {
3+
padding-left: 20px !important; /* Add more padding to the left to match the logs dropdown */
4+
text-align: left !important; /* Ensure text is left-aligned */
5+
}
6+
7+
/* This ensures the text doesn't appear too close to the left edge */
8+
#appsAppSelect option {
9+
padding-left: 10px;
10+
}

frontend/templates/components/apps_section.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1+
<style>
2+
/* Style for apps dropdown to ensure the text has proper padding */
3+
#appsAppSelect option {
4+
padding-left: 10px;
5+
}
6+
</style>
17
<section id="appsSection" class="content-section">
28
<div class="section-header">
39
<div class="section-header-dropdown-container">
410
<div class="log-dropdown" style="position: relative;">
5-
<select id="appsAppSelect" class="styled-select">
6-
<option value="sonarr">Sonarr</option>
7-
<option value="radarr">Radarr</option>
8-
<option value="lidarr">Lidarr</option>
9-
<option value="readarr">Readarr</option>
10-
<option value="whisparr">Whisparr V2</option>
11-
<option value="eros">Whisparr V3</option>
12-
<option value="swaparr">Swaparr</option>
13-
<option value="cleanuperr">Cleanuperr</option>
11+
<select id="appsAppSelect" class="styled-select" style="padding-left: 20px !important; text-align: left !important;">
12+
<option value="sonarr" style="padding-left: 10px;">Sonarr</option>
13+
<option value="radarr" style="padding-left: 10px;">Radarr</option>
14+
<option value="lidarr" style="padding-left: 10px;">Lidarr</option>
15+
<option value="readarr" style="padding-left: 10px;">Readarr</option>
16+
<option value="whisparr" style="padding-left: 10px;">Whisparr V2</option>
17+
<option value="eros" style="padding-left: 10px;">Whisparr V3</option>
18+
<option value="swaparr" style="padding-left: 10px;">Swaparr</option>
19+
<option value="cleanuperr" style="padding-left: 10px;">Cleanuperr</option>
1420
</select>
1521
</div>
1622

0 commit comments

Comments
 (0)