Skip to content

Commit 292d3d7

Browse files
committed
Remove floating scrollbar from MDS page
1 parent 57f590b commit 292d3d7

File tree

2 files changed

+0
-69
lines changed

2 files changed

+0
-69
lines changed

server/server/static/styles/advanced/mds/overview.css

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -490,71 +490,6 @@
490490
background: rgba(0, 114, 206, 0.55);
491491
}
492492

493-
.mds-horizontal-scroll {
494-
position: sticky;
495-
bottom: 1.25rem;
496-
z-index: 60;
497-
width: 100%;
498-
max-width: 100%;
499-
overflow-x: auto;
500-
overflow-y: hidden;
501-
border-radius: 999px;
502-
border: 1px solid rgba(0, 114, 206, 0.18);
503-
background: rgba(243, 247, 251, 0.94);
504-
box-shadow: 0 14px 34px rgba(15, 39, 64, 0.14);
505-
--mds-floating-scrollbar-thickness: 20px;
506-
min-height: var(--mds-floating-scrollbar-thickness);
507-
height: var(--mds-floating-scrollbar-thickness);
508-
box-sizing: border-box;
509-
padding: 0 6px;
510-
scrollbar-width: auto;
511-
scrollbar-color: rgba(0, 114, 206, 0.45) rgba(243, 247, 251, 0.7);
512-
opacity: 0;
513-
pointer-events: none;
514-
transition: opacity 0.2s ease, box-shadow 0.2s ease;
515-
}
516-
517-
.mds-horizontal-scroll.is-floating {
518-
position: fixed;
519-
left: 0;
520-
right: auto;
521-
width: auto;
522-
max-width: none;
523-
}
524-
525-
.mds-horizontal-scroll.is-ready {
526-
opacity: 1;
527-
pointer-events: auto;
528-
}
529-
530-
.mds-horizontal-scroll.is-overflowing {
531-
box-shadow: 0 16px 40px rgba(15, 39, 64, 0.18);
532-
}
533-
534-
.mds-horizontal-scroll::-webkit-scrollbar {
535-
height: var(--mds-floating-scrollbar-thickness);
536-
}
537-
538-
.mds-horizontal-scroll::-webkit-scrollbar-track {
539-
background: rgba(243, 247, 251, 0.86);
540-
border-radius: 999px;
541-
}
542-
543-
.mds-horizontal-scroll::-webkit-scrollbar-thumb {
544-
background: rgba(0, 114, 206, 0.45);
545-
border-radius: 999px;
546-
}
547-
548-
.mds-horizontal-scroll::-webkit-scrollbar-thumb:hover {
549-
background: rgba(0, 114, 206, 0.6);
550-
}
551-
552-
.mds-horizontal-scroll__content {
553-
height: 100%;
554-
min-height: 100%;
555-
}
556-
557-
558493
.mds-scroll-top {
559494
position: fixed;
560495
top: 0.75rem;

server/server/static/templates/advanced/mds-content.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,6 @@ <h3 id="mds-custom-panel-title">Manage Trusted Metadata</h3>
251251
</tbody>
252252
</table>
253253
</div>
254-
<div class="mds-horizontal-scroll" id="mds-horizontal-scroll" aria-hidden="true">
255-
<div class="mds-horizontal-scroll__content"></div>
256-
</div>
257-
258254
<button
259255
type="button"
260256
id="mds-scroll-top-button"

0 commit comments

Comments
 (0)