diff --git a/src/app.css b/src/app.css index 9b4ca0f..a40f7aa 100644 --- a/src/app.css +++ b/src/app.css @@ -378,8 +378,12 @@ h2 { max-width: 200ch; overflow: hidden; text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 5; /* Adjust the number of lines as needed */ + -webkit-box-orient: vertical; } + ::-webkit-scrollbar-track { background: var(--bg-color); } @@ -405,7 +409,7 @@ h2 { } .details-height { - max-height: calc(100vh - 265px); + max-height: calc(100vh - 314px); } .top-with-navbar { diff --git a/src/routes/admin/companies/+page.svelte b/src/routes/admin/companies/+page.svelte index 4f61e0b..4452d46 100644 --- a/src/routes/admin/companies/+page.svelte +++ b/src/routes/admin/companies/+page.svelte @@ -18,27 +18,25 @@ >Create new company -