From f8513aecd1cf8eeaa7c44f7de110bb550584e20f Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 22 May 2025 16:28:29 -0700 Subject: [PATCH] fix: enhance layout consistency in Syslog.page and Syslog.css - Refactored Syslog.page to use flexbox for improved layout of log controls and buttons. - Updated Syslog.css to include new styles for .syslog-controls and .label for better alignment and spacing. - This change continues the effort to enhance visual consistency across the plugin. --- emhttp/plugins/dynamix/Syslog.page | 79 +++++++++++++++++++++++- emhttp/plugins/dynamix/sheets/Syslog.css | 29 ++++++++- 2 files changed, 102 insertions(+), 6 deletions(-) diff --git a/emhttp/plugins/dynamix/Syslog.page b/emhttp/plugins/dynamix/Syslog.page index f2440d532..43cb18f73 100644 --- a/emhttp/plugins/dynamix/Syslog.page +++ b/emhttp/plugins/dynamix/Syslog.page @@ -147,7 +147,80 @@ $(function() { showLog(logfile); }); -$('.tabs').append("_(Log size)_:  "); +// $('.title .right').append(""); -

-
+
+
+
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + +
+
+
+ +

+
+
+ + + +
\ No newline at end of file diff --git a/emhttp/plugins/dynamix/sheets/Syslog.css b/emhttp/plugins/dynamix/sheets/Syslog.css index 388772351..a418409f7 100644 --- a/emhttp/plugins/dynamix/sheets/Syslog.css +++ b/emhttp/plugins/dynamix/sheets/Syslog.css @@ -1,6 +1,29 @@ input#max { - border: none; width: 60px; - margin: 0; - padding: 0; } + +.syslog-controls { + display: flex; + justify-content: space-between; + align-items: center; + gap: 10px; + margin-bottom: 10px; + box-sizing: border-box; + + * { + box-sizing: border-box; + } + + .label { + display: flex; + flex-direction: row; + align-items: center; + gap: 10px; + margin: 0; + padding: .2rem .6rem; + } + + input[type="checkbox"] { + margin: 0; + } +} \ No newline at end of file