Browse Source

refactor(gui-v2): reduce navbar height

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3433/head
Pranav C 2 years ago
parent
commit
04bd7adbd0
  1. 2
      packages/nc-gui-v2/assets/style.scss
  2. 2
      packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index.vue

2
packages/nc-gui-v2/assets/style.scss

@ -1,7 +1,7 @@
@import 'ant-design-vue/dist/antd.variable.min.css'; @import 'ant-design-vue/dist/antd.variable.min.css';
:root { :root {
--header-height: 50px; --header-height: 42px;
--toolbar-height: 48px; --toolbar-height: 48px;
--tw-text-opacity: 1; --tw-text-opacity: 1;
} }

2
packages/nc-gui-v2/pages/[projectType]/[projectId]/index/index.vue

@ -33,7 +33,7 @@ function onEdit(targetKey: number, action: 'add' | 'remove' | string) {
<template> <template>
<div class="h-full w-full nc-container"> <div class="h-full w-full nc-container">
<div class="h-full w-full flex flex-col"> <div class="h-full w-full flex flex-col">
<div class="flex items-end !min-h-[50px] !bg-primary"> <div class="flex items-end !min-h-[var(--header-height)] !bg-primary">
<div <div
v-if="!isOpen" v-if="!isOpen"
class="nc-sidebar-left-toggle-icon hover:after:(bg-primary bg-opacity-75) group nc-sidebar-add-row py-2 px-3" class="nc-sidebar-left-toggle-icon hover:after:(bg-primary bg-opacity-75) group nc-sidebar-add-row py-2 px-3"

Loading…
Cancel
Save