devendergarg14 commited on
Commit
1a666ff
·
verified ·
1 Parent(s): cdf329b

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -61,7 +61,7 @@
61
  display: flex; height: 10px; overflow: hidden; flex-direction: row-reverse;
62
  width: 100%; margin-top: 8px; border-radius: 3px; background-color: var(--light-shadow-outer-2);
63
  }
64
- .history-point { width: 3px; height: 100%; margin-right: 1px; flex-shrink: 0; flex-grow: 0; }
65
  .history-bar .history-point:first-child { margin-right: 0; }
66
  .history-ok { background-color: var(--dot-ok); } .history-error { background-color: var(--dot-error); }
67
  #urlList { max-height: calc(100vh - 350px); overflow-y: auto; padding-right: 8px; }
@@ -121,7 +121,7 @@
121
 
122
  const UI_REFRESH_INTERVAL_MS = 5000; // Refresh UI data from backend every 5 seconds
123
  const HISTORY_DURATION_MS_FOR_DISPLAY = 60 * 60 * 1000; // For uptime % and history bar visualization
124
- const MAX_HISTORY_POINTS_FOR_DISPLAY = 120;
125
 
126
  // --- Theme Toggle (UNCHANGED logic) ---
127
  function applyTheme(isDark) {
 
61
  display: flex; height: 10px; overflow: hidden; flex-direction: row-reverse;
62
  width: 100%; margin-top: 8px; border-radius: 3px; background-color: var(--light-shadow-outer-2);
63
  }
64
+ .history-point { width: 4px; height: 100%; margin-right: 1px; flex-shrink: 0; flex-grow: 0; }
65
  .history-bar .history-point:first-child { margin-right: 0; }
66
  .history-ok { background-color: var(--dot-ok); } .history-error { background-color: var(--dot-error); }
67
  #urlList { max-height: calc(100vh - 350px); overflow-y: auto; padding-right: 8px; }
 
121
 
122
  const UI_REFRESH_INTERVAL_MS = 5000; // Refresh UI data from backend every 5 seconds
123
  const HISTORY_DURATION_MS_FOR_DISPLAY = 60 * 60 * 1000; // For uptime % and history bar visualization
124
+ const MAX_HISTORY_POINTS_FOR_DISPLAY = 90;
125
 
126
  // --- Theme Toggle (UNCHANGED logic) ---
127
  function applyTheme(isDark) {