Skip to content

Commit 8f4c1ba

Browse files
committed
style: update section header title and enhance mobile layout for settings section
1 parent 5a9f2a5 commit 8f4c1ba

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

frontend/templates/components/settings_section.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section id="settingsSection" class="content-section">
22
<div class="section-header">
3-
<h2>General Settings</h2>
3+
<h2>Settings</h2>
44

55
<div class="settings-actions">
66
<button id="saveSettingsButton" class="save-button" disabled>
@@ -15,6 +15,30 @@ <h2>General Settings</h2>
1515
</section>
1616

1717
<style>
18+
/* Mobile-specific settings adjustments */
19+
@media (max-width: 768px) {
20+
#settingsSection .section-header {
21+
flex-direction: row !important;
22+
align-items: center !important;
23+
justify-content: space-between !important;
24+
}
25+
26+
#settingsSection .section-header h2 {
27+
margin-bottom: 0 !important;
28+
}
29+
30+
#settingsSection .settings-actions {
31+
margin-top: 0 !important;
32+
width: auto !important;
33+
}
34+
35+
#saveSettingsButton {
36+
width: auto !important;
37+
text-align: center;
38+
justify-content: center;
39+
}
40+
}
41+
1842
/* Fixed banner footer styling */
1943
.fixed-banner-footer {
2044
position: fixed;

0 commit comments

Comments
 (0)