feat: 修改宽度

This commit is contained in:
秋水浮尘
2024-03-03 22:50:45 +08:00
parent cca31e8de2
commit 39a9deb7fb
13 changed files with 77 additions and 77 deletions

View File

@@ -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;

View File

@@ -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 />

View File

@@ -1,5 +1,5 @@
.brush-questions-box {
width: 1439px;
width: 1200px;
margin: 0 auto;
background-color: #fff;
padding: 20px 50px;

View File

@@ -4,7 +4,7 @@
left: 0;
right: 0;
height: 50px;
min-width: 1439px;
min-width: 1200px;
background-color: #fff;
border-radius: 4px;
}

View File

@@ -1,6 +1,6 @@
.personal-center-box {
margin: 0 auto;
width: 1439px;
width: 1200px;
border-radius: 5px;
overflow: auto;
.personal-center-introduction {

View File

@@ -1,5 +1,5 @@
.details-container {
width: 1439px;
width: 1200px;
margin: 0 auto;
overflow: auto;
background-color: #ffffff;

View File

@@ -11,7 +11,7 @@
}
.box {
display: flex;
width: 1439px;
width: 1200px;
.box1 {
flex: 1;
}

View File

@@ -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;

View File

@@ -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]: '去出题'
}

View File

@@ -1,6 +1,6 @@
.question-bank-box {
display: flex;
width: 1439px;
width: 1200px;
margin: 0 auto;
background-color: #f3f4f6;
border-radius: 5px;

View File

@@ -132,8 +132,8 @@ const QuestionBank = () => {
</div>
</div>
<div className='ranking-box'>
<ContributionList />
<RankingList />
<ContributionList />
</div>
</div>
)

View File

@@ -1,5 +1,5 @@
.search-details-box {
width: 1439px;
width: 1200px;
margin: 0 auto;
background-color: #fff;
padding: 20px 50px;

View File

@@ -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);