feat: 修改宽度
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
position: absolute;
|
||||
min-width: 1439px;
|
||||
min-width: 1200px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
@@ -22,7 +22,7 @@
|
||||
user-select: none; /* Non-prefixed version, currently not supported by any browser */
|
||||
scrollbar-width: none;
|
||||
.content-box {
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
overflow: auto;
|
||||
flex-grow: 1;
|
||||
|
@@ -60,7 +60,7 @@ const App = () => {
|
||||
<Header />
|
||||
<div
|
||||
className='content-box'
|
||||
style={{ width: location.pathname === '/login' ? '100%' : '1439px' }}
|
||||
style={{ width: location.pathname === '/login' ? '100%' : '1200px' }}
|
||||
>
|
||||
<Suspense fallback={<div></div>}>
|
||||
<Outlet />
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.brush-questions-box {
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
background-color: #fff;
|
||||
padding: 20px 50px;
|
||||
|
@@ -4,7 +4,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50px;
|
||||
min-width: 1439px;
|
||||
min-width: 1200px;
|
||||
background-color: #fff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
.personal-center-box {
|
||||
margin: 0 auto;
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
border-radius: 5px;
|
||||
overflow: auto;
|
||||
.personal-center-introduction {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.details-container {
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
overflow: auto;
|
||||
background-color: #ffffff;
|
||||
|
@@ -9,13 +9,13 @@
|
||||
font-size: 14px;
|
||||
color: rgba(51, 51, 51, 0.5);
|
||||
}
|
||||
.box{
|
||||
.box {
|
||||
display: flex;
|
||||
width: 1439px;
|
||||
.box1{
|
||||
width: 1200px;
|
||||
.box1 {
|
||||
flex: 1;
|
||||
}
|
||||
.box2{
|
||||
.box2 {
|
||||
flex: 1;
|
||||
// float: right;
|
||||
text-align: right;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
.practice-questions-container {
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
// padding: 20px 50px;
|
||||
border-radius: 5px;
|
||||
// flex-direction: column;
|
||||
|
@@ -36,14 +36,14 @@ export const RankingType = {
|
||||
* 模块名称
|
||||
*/
|
||||
export const RankingTypeText = {
|
||||
[RankingType.contribution]: '出题贡献榜',
|
||||
[RankingType.practice]: '综合练习榜'
|
||||
[RankingType.contribution]: '综合练习榜',
|
||||
[RankingType.practice]: '出题贡献榜'
|
||||
}
|
||||
|
||||
/**
|
||||
* 对应按钮名字
|
||||
*/
|
||||
export const RankingTypeBtnText = {
|
||||
[RankingType.contribution]: '去出题',
|
||||
[RankingType.practice]: '去练习'
|
||||
[RankingType.contribution]: '去练习',
|
||||
[RankingType.practice]: '去出题'
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
.question-bank-box {
|
||||
display: flex;
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
background-color: #f3f4f6;
|
||||
border-radius: 5px;
|
||||
|
@@ -132,8 +132,8 @@ const QuestionBank = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div className='ranking-box'>
|
||||
<ContributionList />
|
||||
<RankingList />
|
||||
<ContributionList />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.search-details-box {
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
background-color: #fff;
|
||||
padding: 20px 50px;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
.upload-questions-box {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
width: 1439px;
|
||||
width: 1200px;
|
||||
// overflow-y: auto;
|
||||
border-radius: 5px;
|
||||
// height: calc(100vh - 100px);
|
||||
|
Reference in New Issue
Block a user