💄 修复日志滚动条

This commit is contained in:
刘嘉伟 2024-08-16 22:19:39 +08:00
parent b00392b9f5
commit 179da0bbf6
2 changed files with 26 additions and 22 deletions

View File

@ -6,7 +6,7 @@
-webkit-border-radius: 15px;
}
::-webkit-scrollbar-track-piece {
background-color: #ffff;
background-color: #fff;
border-radius:15px;
-webkit-border-radius: 15px;
}

View File

@ -1,7 +1,7 @@
<script lang="ts" setup>
import { defineComponent, onMounted, onUnmounted, ref } from "vue";
import {defineComponent, onMounted, onUnmounted, ref} from "vue";
import Breadcrumb from "@/layout/compoenets/Breadcrumb.vue";
import { ipcRenderer } from "electron";
import {ipcRenderer} from "electron";
defineComponent({
name: "Logger"
@ -53,14 +53,18 @@ onUnmounted(() => {
</script>
<template>
<div class="main">
<breadcrumb />
<breadcrumb/>
<div class="app-container-breadcrumb">
<div
class="w-full h-full p-4 bg-[#2B2B2B] rounded drop-shadow-lg overflow-y-auto"
class="w-full h-full p-2 bg-[#2B2B2B] rounded drop-shadow-lg overflow-y-auto"
v-html="loggerContent"
></div>
</div>
</div>
</template>
<style lang="scss" scoped></style>
<style lang="scss" scoped>
::-webkit-scrollbar-track-piece {
background-color: transparent;
}
</style>