vue右侧生成滚动条css配置

在div内书写内容,给div配置一个类。

<template>
    <div class="dashboard-editor-container">
	// 定义一个类名

    </div>
</template>


<style rel="stylesheet/scss" lang="scss" scoped>
	// 这个是滚动条的类的设置
    .dashboard-editor-container {
        padding: 15px;//填充内边距
        background-color: rgb(240, 242, 245);//背景颜色
        overflow-y: auto;
        height: 672px;

        .chart-wrapper {
            background: #fff;
            padding: 16px 16px 0;
            margin-bottom: 32px;
        }
    }
</style>

posted @   Charles博客  阅读(522)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
· 为什么 退出登录 或 修改密码 无法使 token 失效
点击右上角即可分享
微信分享提示