Commit 0d93bba9 authored by web's avatar web

antd兼容、滚动条隐藏

parent 937348bb
No preview for this file type
......@@ -2,7 +2,13 @@
text-align: center;
position: relative;
}
::-webkit-scrollbar {
display: none;
}
* {
scrollbar-width: none;
}
.App-logo {
height: 40vmin;
pointer-events: none;
......
......@@ -7,6 +7,7 @@ import './assets/fonts/fonts.scss'
import './index.css';
import './App.css';
import './styles.scss'
import { StyleProvider } from '@ant-design/cssinjs';
import { LoginProvider } from './context/LoginContext';
function App() {
......@@ -15,6 +16,7 @@ function App() {
const targetAdminHost = hostname !== 'localhost' ? 'https://console.' + host : 'http://' + host
return (
<div className="App">
<StyleProvider hashPriority="high">
<ConfigProvider
theme={
{
......@@ -55,8 +57,7 @@ function App() {
</LoginProvider>
</Router>
</ConfigProvider>
</StyleProvider>
</div>
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment