Skip to content

Commit

Permalink
fix: 修复首页高度对齐问题 (#1708)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it?

#### Summary of your change

#### Please indicate you've done the following:

- [ ] Made sure tests are passing and test coverage is added if needed.
- [ ] Made sure commit message follow the rule of [Conventional Commits specification](https://www.conventionalcommits.org/).
- [ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.
  • Loading branch information
wangdan-fit2cloud authored Jul 18, 2023
1 parent aa8816f commit c62c19a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/views/home/app/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<el-scrollbar max-height="500px" class="moz-height">
<el-scrollbar height="500px" class="moz-height">
<div class="h-app-card" v-for="(app, index) in apps" :key="index">
<el-row :gutter="10">
<el-col :span="5">
Expand Down Expand Up @@ -118,6 +118,7 @@ defineExpose({
border: 0;
border-top: var(--panel-border);
}
/* FOR MOZILLA */
@-moz-document url-prefix() {
.moz-height {
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/views/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,12 @@ onBeforeUnmount(() => {
.h-systemInfo {
margin-left: 18px;
height: 216px;
}
@-moz-document url-prefix() {
.h-systemInfo {
height: auto;
}
}
.system-label {
Expand Down

0 comments on commit c62c19a

Please sign in to comment.