Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: Fixed an issue where the Form button was hidden #4448

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Nov 21, 2024

fixed: Fixed an issue where the Form button was hidden

@fit2bot fit2bot requested a review from a team November 21, 2024 06:44
overflow-y: auto !important;
//Todo)) 注释掉的原因:当页面动态高度变化时就会导致页面最下方的按钮被 hidden 掉
//overflow-x: hidden;
//overflow-y: auto !important;

::v-deep > div {
margin-bottom: 50px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CSS code does not appear to have any issues or irregularities at this point. The main concerns would be regarding the visibility issue of the buttons on screen size changes. To fix this problem, consider using position: absolute inside .page-content, thus ensuring all elements are retained despite window size changes:

@media (max-width: 768px) {
  .el-alert, ::v-deep > div {
    position: initial; /* Reset button positions after media query */
  }
}

Please replace (min-width: 768px) with whatever breakpoint works best for your project.

If there's anything specific you'd like help optimizing further, feel free to let me know!

@ZhaoJiSen ZhaoJiSen merged commit 772f40e into dev Nov 21, 2024
3 of 4 checks passed
@ZhaoJiSen ZhaoJiSen deleted the pr@dev@fix_button_hidden branch November 21, 2024 06:44
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants