feat:移动端标题栏吸附效果
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -784,7 +784,7 @@ body::before {
|
||||
@media (max-width: 640px) {
|
||||
.content {
|
||||
padding-top: 140px;
|
||||
overflow-x: hidden;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
@@ -950,7 +950,7 @@ input[type="number"] {
|
||||
padding: 12px;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
.grid {
|
||||
|
||||
@@ -3957,7 +3957,7 @@ export default function HomePage() {
|
||||
|
||||
<div className="grid">
|
||||
<div className="col-12">
|
||||
<div ref={filterBarRef} className="filter-bar" style={{ top: isMobile ? undefined : navbarHeight , marginTop: navbarHeight, marginBottom: 8, display: 'flex', justifyContent: 'space-between', alignItems: 'center', flexWrap: 'wrap', gap: 12 }}>
|
||||
<div ref={filterBarRef} className="filter-bar" style={{ ...(isMobile ? {} : { top: navbarHeight }), marginTop: navbarHeight, marginBottom: 8, display: 'flex', justifyContent: 'space-between', alignItems: 'center', flexWrap: 'wrap', gap: 12 }}>
|
||||
<div className="tabs-container">
|
||||
<div
|
||||
className="tabs-scroll-area"
|
||||
|
||||
Reference in New Issue
Block a user