1
0
forked from test/crm

fix: header with border bottom

This commit is contained in:
Shariq Ansari 2023-09-20 18:08:38 +05:30
parent 040c987e03
commit 95639b07f6
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="flex"> <div class="flex border-b pr-5">
<div id="app-header" class="flex-1"></div> <div id="app-header" class="flex-1"></div>
<div class="flex items-center justify-center"> <div class="flex items-center justify-center">
<CallUI /> <CallUI />

View File

@ -107,7 +107,7 @@
</div> </div>
<div <div
v-show="showSmallCallWindow" v-show="showSmallCallWindow"
class="flex items-center justify-between gap-3 bg-gray-900 text-base text-gray-300 -ml-3 mr-2 px-2 py-[7px] rounded-lg cursor-pointer select-none" class="flex items-center justify-between gap-3 bg-gray-900 text-base text-gray-300 ml-2 px-2 py-[7px] rounded-lg cursor-pointer select-none"
@click="toggleCallWindow" @click="toggleCallWindow"
> >
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">

View File

@ -1,6 +1,6 @@
<template> <template>
<Teleport to="#app-header" v-if="showHeader"> <Teleport to="#app-header" v-if="showHeader">
<header class="flex justify-between items-center px-5 py-3"> <header class="flex justify-between items-center pl-5 py-2.5 h-12">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<slot name="left-header" /> <slot name="left-header" />
</div> </div>

View File

@ -9,7 +9,7 @@
</Button> </Button>
</template> </template>
</LayoutHeader> </LayoutHeader>
<div class="flex justify-between items-center px-5 pb-2.5 border-b"> <div class="flex justify-between items-center px-5 pb-2.5">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<Dropdown :options="viewsDropdownOptions"> <Dropdown :options="viewsDropdownOptions">
<template #default="{ open }"> <template #default="{ open }">

View File

@ -9,7 +9,7 @@
</Button> </Button>
</template> </template>
</LayoutHeader> </LayoutHeader>
<div class="flex justify-between items-center px-5 pb-2.5 border-b"> <div class="flex justify-between items-center px-5 pb-2.5">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<Dropdown :options="viewsDropdownOptions"> <Dropdown :options="viewsDropdownOptions">
<template #default="{ open }"> <template #default="{ open }">