Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: custom logo size (#9738)

ecmadao9afc1ffa83ea
diff --git a/frontend/src/components/BytebaseLogo.vue b/frontend/src/components/BytebaseLogo.vue
index 6ed2e0a0fc..e4dea4be84 100644
--- a/frontend/src/components/BytebaseLogo.vue
+++ b/frontend/src/components/BytebaseLogo.vue
@@ -11,11 +11,11 @@
<img
v-if="customBrandingLogo"
:src="customBrandingLogo"
- class="w-auto max-w-full h-8 md:h-10"
+ class="w-auto max-w-full my-3"
/>
<img
- v-if="!customBrandingLogo"
+ v-else
class="h-8 md:h-10 w-auto"
src="../assets/logo-full.svg"
alt="Bytebase"
diff --git a/frontend/src/components/ProfileBrandingLogo.vue b/frontend/src/components/ProfileBrandingLogo.vue
index 3879aeaa7c..5f7f9e5795 100644
--- a/frontend/src/components/ProfileBrandingLogo.vue
+++ b/frontend/src/components/ProfileBrandingLogo.vue
@@ -1,11 +1,11 @@
<template>
<div
class="flex justify-center items-center bg-gray-100 rounded-3xl"
- :class="customBrandingLogo ? 'px-2 py-1.5' : ''"
+ :class="customBrandingLogo ? 'md:px-2 md:py-1.5' : ''"
>
<img
v-if="customBrandingLogo"
- class="h-6 mr-4 ml-1 bg-no-repeat bg-contain bg-center"
+ class="hidden md:block h-6 mr-4 ml-1 bg-no-repeat bg-contain bg-center"
src="@/assets/logo-full.svg"
/>
<slot />
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index 62965153d9..9b8480f07e 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -27,7 +27,7 @@
</button>
</div>
<!-- Mobile Sidebar -->
- <div class="flex-1 h-0 py-4 overflow-y-auto">
+ <div class="flex-1 h-0 py-0 overflow-y-auto">
<router-view
name="leftSidebar"
@click="state.showMobileOverlay = false"
diff --git a/frontend/src/views/SchemaTemplate/ColumnTypes.vue b/frontend/src/views/SchemaTemplate/ColumnTypes.vue
index 9f59c49dd6..cad7b019c2 100644
--- a/frontend/src/views/SchemaTemplate/ColumnTypes.vue
+++ b/frontend/src/views/SchemaTemplate/ColumnTypes.vue
@@ -2,7 +2,7 @@
<div class="w-full space-y-4 text-sm">
<div class="space-y-4">
<div class="flex items-center justify-between gap-x-6">
- <div class="flex-1 textinfolabel !leading-8">
+ <div class="flex-1 textinfolabel">
{{ $t("schema-template.column-type-restriction.description") }}
</div>
</div>