Skip to content

Commit 3fa04ed

Browse files
committed
feat: reduced toolbars height to the header height
1 parent 3e0a9bf commit 3fa04ed

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

packages/app-frontend/src/features/apps/AppSelectPane.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default defineComponent({
7979

8080
<template>
8181
<div class="flex flex-col">
82-
<div class="flex-none border-b border-gray-200 dark:border-gray-800 flex items-center space-x-1 h-[40px] pr-1">
82+
<div class="flex-none border-b border-gray-200 dark:border-gray-800 flex items-center space-x-1 h-8 pr-1 box-content">
8383
<VueInput
8484
v-model="search"
8585
icon-left="search"

packages/app-frontend/src/features/components/ComponentsInspector.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export default defineComponent({
241241
.search {
242242
>>> {
243243
.input {
244-
height: 39px !important;
244+
height: 32px !important;
245245
}
246246
247247
.content {

packages/app-frontend/src/features/components/SelectedComponentPane.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default defineComponent({
7272
v-if="data && sameApp"
7373
class="h-full flex flex-col relative"
7474
>
75-
<div class="px-2 h-10 border-b border-gray-200 dark:border-gray-800 flex items-center flex-none">
75+
<div class="px-2 h-8 box-content border-b border-gray-200 dark:border-gray-800 flex items-center flex-none">
7676
<VTooltip
7777
:shown="showCopiedName"
7878
:triggers="[]"

packages/app-frontend/src/features/header/AppHeader.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default defineComponent({
9595
</script>
9696

9797
<template>
98-
<div class="flex items-center space-x-2 px-2 h-8">
98+
<div class="flex items-center space-x-2 px-2 h-8 box-content">
9999
<AppHistoryNav />
100100

101101
<template v-if="showAppsSelector">

packages/app-frontend/src/features/inspector/custom/CustomInspector.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ export default defineComponent({
8888
>
8989
<template #left>
9090
<div class="flex flex-col h-full">
91-
<div class="border-b border-gray-200 dark:border-gray-800 flex items-center pr-2">
91+
<div class="border-b border-gray-200 dark:border-gray-800 flex items-center pr-2 h-8 box-content">
9292
<VueInput
9393
v-model="inspector.treeFilter"
9494
icon-left="search"
9595
:placeholder="inspector.treeFilterPlaceholder || 'Search...'"
96-
class="search flat min-w-0 flex-1"
96+
class="search flat min-w-0 flex-1 mr-2"
9797
/>
9898

9999
<PluginSourceIcon

packages/app-frontend/src/features/inspector/custom/CustomInspectorSelectedNodePane.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default defineComponent({
6767
v-if="inspector.selectedNode"
6868
class="h-full flex flex-col"
6969
>
70-
<div class="px-2 h-10 border-b border-gray-200 dark:border-gray-800 flex items-center flex-none">
70+
<div class="px-2 h-8 box-content border-b border-gray-200 dark:border-gray-800 flex items-center flex-none">
7171
<div>
7272
{{ inspector.selectedNode.label }}
7373
</div>

packages/app-frontend/src/features/timeline/TimelineEventInspector.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default defineComponent({
5252
v-if="inspectedEvent && inspectedEventState"
5353
class="flex flex-col h-full"
5454
>
55-
<div class="header flex-none flex items-center border-b border-gray-200 dark:border-gray-800 p-2 pl-3 text-bluegray-900 dark:text-bluegray-100 space-x-2">
55+
<div class="header flex-none flex items-center border-b border-gray-200 dark:border-gray-800 px-2 pl-3 h-8 box-content text-bluegray-900 dark:text-bluegray-100 space-x-2">
5656
<div
5757
class="flex-none w-2.5 h-2.5 rounded-full border-2"
5858
:style="{
@@ -90,10 +90,10 @@ export default defineComponent({
9090
/>
9191
</span>
9292

93-
<span class="event-time flex-none flex items-center space-x-0.5 text-2xs font-mono px-2 py-1 rounded-full border border-gray-100 dark:border-gray-900 text-bluegray-700 dark:text-bluegray-300">
93+
<span class="event-time flex-none flex items-center space-x-0.5 text-2xs font-mono px-1.5 py-0.5 rounded-full bg-bluegray-100 dark:bg-bluegray-900 text-bluegray-700 dark:text-bluegray-300">
9494
<VueIcon
9595
icon="schedule"
96-
class="w-3 h-3 opacity-50"
96+
class="w-3 h-3 opacity-75"
9797
/>
9898
<span>{{ time }}</span>
9999
</span>

0 commit comments

Comments
 (0)