Skip to content

Commit

Permalink
Merge pull request #39 from OVINC-CN/feat_scrollbar
Browse files Browse the repository at this point in the history
style: custom scroll bar
  • Loading branch information
OrenZhang authored Jun 27, 2024
2 parents 361b206 + d8a564f commit c2d680f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/OVINC-CN/DevTemplateVue.git",
"commit": "14d394c83d0051c6403371c1c572a7d15b96b87e",
"commit": "a9c02781b79116d21a3794392de181924817d05a",
"checkout": "main",
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="zh-hans">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" href="/favicon.ico">
<title>iWiki | OVINC</title>
<script src="/extra-assets/js/mermaid.min.js?v=20240306082500"></script>
Expand Down
10 changes: 10 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,13 @@ html, body, #app {
.arco-btn-icon {
line-height: 0
}

*::-webkit-scrollbar {
height: 6px;
width: 6px;
background: var(--color-neutral-2);
}

*::-webkit-scrollbar-thumb {
background: rgb(var(--arcoblue-3));
}

0 comments on commit c2d680f

Please sign in to comment.