Skip to content

Commit e63a0cf

Browse files
Adjust layout: shrink sidebar icons and paddings
1 parent ca8b484 commit e63a0cf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib/components/sidebar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@
692692
transition: width 0.2s linear;
693693
694694
&.icons {
695-
width: 266px;
695+
width: 248px;
696696
transition: width 0.3s linear;
697697
698698
&.no-transitions {

src/lib/layout/shell.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
:global(main:has(.sub-navigation)) {
302302
.main-content {
303303
@media (min-width: 1024px) {
304-
padding-left: 255px;
304+
padding-left: 238px;
305305
}
306306
}
307307
}
@@ -315,7 +315,7 @@
315315
@media (min-width: 1024px) {
316316
.main-content {
317317
height: auto;
318-
padding-left: 210px;
318+
padding-left: 198px;
319319
}
320320
}
321321

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/layout/spreadsheet.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
if (!spreadsheetWrapper) return;
4646
const wrapperRect = spreadsheetWrapper.getBoundingClientRect();
4747
const wrapperTop = wrapperRect.top;
48-
const viewportHeight = window.innerHeight;
48+
const viewportHeight = window.innerHeight - 14;
4949
const availableHeight = viewportHeight - wrapperTop;
5050
const finalHeight = Math.max(100, availableHeight);
5151

0 commit comments

Comments
 (0)