style(工作台): 修复工作台mini卡片自适应style
This commit is contained in:
parent
5d7538e8e8
commit
76c398734f
|
@ -20,9 +20,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="my-[16px]">
|
<div class="my-[16px]">
|
||||||
<TabCard :content-tab-list="apiCountTabList" not-has-padding hidden-border min-width="270px">
|
<TabCard :content-tab-list="apiCountTabList" not-has-padding hidden-border min-width="296px">
|
||||||
<template #item="{ item: tabItem }">
|
<template #item="{ item: tabItem }">
|
||||||
<div class="w-full">
|
|
||||||
<PassRatePie
|
<PassRatePie
|
||||||
:tooltip-text="tabItem.tooltip"
|
:tooltip-text="tabItem.tooltip"
|
||||||
:options="tabItem.options"
|
:options="tabItem.options"
|
||||||
|
@ -31,7 +30,6 @@
|
||||||
:has-permission="hasPermission"
|
:has-permission="hasPermission"
|
||||||
:value-list="tabItem.valueList"
|
:value-list="tabItem.valueList"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</TabCard>
|
</TabCard>
|
||||||
<div class="h-[148px]">
|
<div class="h-[148px]">
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
background: var(--color-text-n9);
|
background: var(--color-text-n9);
|
||||||
@apply flex items-center;
|
@apply flex items-center;
|
||||||
.pass-rate-title {
|
.pass-rate-title {
|
||||||
@apply ml-4 flex items-center gap-4;
|
@apply ml-4 flex items-center gap-2;
|
||||||
.pass-rate-count {
|
.pass-rate-count {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: rgb(var(--primary-4));
|
color: rgb(var(--primary-4));
|
||||||
|
|
|
@ -363,8 +363,6 @@
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.work-bench-content {
|
.work-bench-content {
|
||||||
@apply overflow-x-auto;
|
|
||||||
.ms-scroll-bar();
|
|
||||||
.header-setting {
|
.header-setting {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -386,6 +384,7 @@
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.card-wrapper {
|
.card-wrapper {
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
|
min-width: 356px;
|
||||||
box-shadow: 0 0 10px rgba(120 56 135/ 5%);
|
box-shadow: 0 0 10px rgba(120 56 135/ 5%);
|
||||||
@apply rounded-xl bg-white;
|
@apply rounded-xl bg-white;
|
||||||
&.card-min-height {
|
&.card-min-height {
|
||||||
|
|
Loading…
Reference in New Issue