Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Make progress bar more compact

Blue Mousecbcd23541ec3
diff --git a/web/app/pages/Project/View/Panels.tsx b/web/app/pages/Project/View/Panels.tsx
index 7083870f2..128243c36 100644
--- a/web/app/pages/Project/View/Panels.tsx
+++ b/web/app/pages/Project/View/Panels.tsx
@@ -128,7 +128,7 @@ const PanelContainer = ({
}: PanelContainerProps) => (
<div
className={cx(
- 'relative max-h-96 min-h-72 overflow-hidden rounded-lg border border-gray-300 bg-white px-4 pt-5 sm:px-6 sm:pt-6 dark:border-slate-800/50 dark:bg-slate-800/25',
+ 'relative max-h-96 min-h-[17rem] overflow-hidden rounded-lg border border-gray-300 bg-white px-4 pt-5 sm:px-6 sm:pt-6 dark:border-slate-800/50 dark:bg-slate-800/25',
{
'pb-12': !noSwitch,
'pb-5': noSwitch,
diff --git a/web/app/styles/tailwind.css b/web/app/styles/tailwind.css
index 64d9a5e0f..387a64c78 100644
--- a/web/app/styles/tailwind.css
+++ b/web/app/styles/tailwind.css
@@ -14,7 +14,6 @@
--color-gray-750: oklch(23.11% 0.0357 262.54); /* Converting #141d2e to OKLCH */
/* Minimum Heights */
- --min-height-72: 18rem;
--min-height-page: calc(100vh - 74px);
--min-height-min-footer: calc(100vh - 148px);
}
diff --git a/web/app/ui/Progress.tsx b/web/app/ui/Progress.tsx
index d9ac16824..caf779e1b 100644
--- a/web/app/ui/Progress.tsx
+++ b/web/app/ui/Progress.tsx
@@ -6,7 +6,7 @@ interface ProgressProps {
const Progress = ({ now }: ProgressProps) => (
<div className='relative'>
- <div className='flex h-2 overflow-hidden rounded-sm bg-blue-200 text-xs dark:bg-slate-600'>
+ <div className='flex h-1.5 overflow-hidden rounded-sm bg-blue-200 text-xs dark:bg-slate-600'>
<div
style={{ width: `${now}%` }}
className='flex flex-col justify-center bg-blue-500 text-center whitespace-nowrap text-white shadow-none dark:bg-blue-700'