Skip to content

Commit b1ee1c3

Browse files
committed
slightly improved styling
1 parent 416720a commit b1ee1c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/svelte/src/toolbar/ToolBar.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@
228228
background-color: var(--toolbar-background);
229229
color: var(--toolbar-color);
230230
z-index: 1000;
231-
border-radius: 8px;
232231
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
233232
}
234233
@@ -246,6 +245,8 @@
246245
transition: background-color 0.2s ease-in-out;
247246
background-color: var(--toolbar-background);
248247
margin: 0;
248+
height: var(--toolbar-height);
249+
display: flex;
249250
}
250251
251252
.svelte-toolbar-selector:hover {
@@ -341,6 +342,7 @@
341342
--tool-icon-color: #333;
342343
--accent-color: #ff3e00;
343344
--panel-background: #fff;
345+
--toolbar-height: 50px;
344346
}
345347
346348
@media (prefers-color-scheme: dark) {

0 commit comments

Comments
 (0)