feat: The search box is displayed globally when the page is loaded for the first time #2247 (#2325)

### What problem does this PR solve?

feat: The search box is displayed globally when the page is loaded for
the first time #2247

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-09-09 16:37:04 +08:00
committed by GitHub
parent 884dcbcb7e
commit ceae4df889
4 changed files with 145 additions and 75 deletions

View File

@ -49,18 +49,22 @@
}
}
.firstRenderContent {
height: 100%;
}
.content {
height: 100%;
.main {
width: 60%;
// background-color: aqua;
overflow: auto;
padding: 10px;
padding: 20px 10px 10px;
}
.graph {
width: 40%;
padding-right: 10px;
padding: 20px 10px 10px;
}
}
.answerWrapper {
@ -72,3 +76,28 @@
margin: 0;
}
}
.input() {
:global(.ant-input-affix-wrapper) {
padding: 4px 8px;
border-start-start-radius: 30px !important;
border-end-start-radius: 30px !important;
}
input {
height: 40px;
}
button {
height: 50px !important;
border-start-end-radius: 30px !important;
border-end-end-radius: 30px !important;
}
}
.globalInput {
width: 600px;
.input();
}
.partialInput {
width: 100%;
.input();
}