Skip to content

Commit

Permalink
微调样式
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyn101 committed Oct 1, 2023
1 parent 3ae0c2b commit 98f3155
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions ui/src/pages/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -383,34 +383,46 @@ ul {
</style>

<style>
.grid-left {
/*小于1400的内容!*/
@media (max-width: 1399px) {
.grid-two {
margin: 0 0 -10px 0;
}
.grid-left {
display: grid;
gap: 5px;
row-gap: 10px;
grid-template-columns: 100%;
max-width: 600px;
}
.grid-right {
display: grid;
gap: 5px;
row-gap: 10px;
grid-template-columns: 100%;
max-width: 600px;
}
/*小于1400的内容!*/
@media (max-width: 1399px) {
.grid-two {
gap: 0px;
}
}
/*双栏 大于1400的内容 */
@media (min-width: 1400px) {
.grid-two {
display: grid;
gap: 16px;
grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
align-items: flex-start;
}
.grid-left {
display: grid;
gap: 5px;
grid-template-columns: 100%;
max-width: 600px;
}
.grid-right {
display: grid;
gap: 5px;
grid-template-columns: 100%;
max-width: 600px;
}
}
Expand Down

0 comments on commit 98f3155

Please sign in to comment.