feat: 禁止主页容器横向滚动
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { motion, AnimatePresence } from 'framer-motion';
|
||||
|
||||
const ANNOUNCEMENT_KEY = 'hasClosedAnnouncement_v11';
|
||||
const ANNOUNCEMENT_KEY = 'hasClosedAnnouncement_v12';
|
||||
|
||||
export default function Announcement() {
|
||||
const [isVisible, setIsVisible] = useState(false);
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -725,6 +726,7 @@ body::before {
|
||||
@media (max-width: 640px) {
|
||||
.content {
|
||||
padding-top: 140px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
@@ -890,6 +892,7 @@ input[type="number"] {
|
||||
padding: 12px;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.grid {
|
||||
|
||||
Reference in New Issue
Block a user