Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rrpgLink_FrontEnd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kesaubeeire
rrpgLink_FrontEnd
Commits
8cc6b3a2
Commit
8cc6b3a2
authored
Oct 29, 2023
by
KesaubeEire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 搞定几乎所有windows难看的滑动条.
parent
ddaa083a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
src/App.svelte
src/App.svelte
+16
-4
src/components/MedalItemDetail.svelte
src/components/MedalItemDetail.svelte
+1
-1
No files found.
src/App.svelte
View file @
8cc6b3a2
...
@@ -162,12 +162,18 @@
...
@@ -162,12 +162,18 @@
}
}
/* 隐藏垂直滚动条 */
/* 隐藏垂直滚动条 */
body::-webkit-scrollbar {
.picsSlider::-webkit-scrollbar,
code.language-javascript::-webkit-scrollbar,
body::-webkit-scrollbar
{
display: none;
display: none;
/* 隐藏 Chrome、Safari 滚动条 */
/* 隐藏 Chrome、Safari 滚动条 */
}
}
body {
.picsSlider,
code.language-javascript,
body
{
-ms-overflow-style: none;
-ms-overflow-style: none;
/* 隐藏 IE/Edge 滚动条 */
/* 隐藏 IE/Edge 滚动条 */
scrollbar-width: none;
scrollbar-width: none;
...
@@ -175,12 +181,18 @@
...
@@ -175,12 +181,18 @@
}
}
/* 隐藏水平滚动条 */
/* 隐藏水平滚动条 */
body::-webkit-scrollbar-horizontal {
.picsSlider::-webkit-scrollbar-horizontal,
code.language-javascript::-webkit-scrollbar-horizontal,
body::-webkit-scrollbar-horizontal
{
display: none;
display: none;
/* 隐藏 Chrome、Safari 水平滚动条 */
/* 隐藏 Chrome、Safari 水平滚动条 */
}
}
body::-webkit-scrollbar-thumb {
.picsSlider::-webkit-scrollbar-thumb
code.language-javascript::-webkit-scrollbar-thumb
body::-webkit-scrollbar-thumb
{
display: none;
display: none;
/* 隐藏 Chrome、Safari 滚动条拇指 */
/* 隐藏 Chrome、Safari 滚动条拇指 */
}`;
}`;
...
...
src/components/MedalItemDetail.svelte
View file @
8cc6b3a2
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</div>
</div>
{/each}
{/each}
</div>
</div>
<div class="flex justify-center w-full gap-2 overflow-x-auto max-[1024px]:justify-start h-16">
<div class="
picsSlider
flex justify-center w-full gap-2 overflow-x-auto max-[1024px]:justify-start h-16">
{#each pics as pic, index}
{#each pics as pic, index}
<a href={'#' + pic + index} class="w-16 h-16 btn btn-xs flex flex-col">
<a href={'#' + pic + index} class="w-16 h-16 btn btn-xs flex flex-col">
<div class="w-10 h-10 flex items-center">
<div class="w-10 h-10 flex items-center">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment