-
Notifications
You must be signed in to change notification settings - Fork 814
修复自动安装界面,卡片上按钮无法点击 #5251
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
base: main
Are you sure you want to change the base?
修复自动安装界面,卡片上按钮无法点击 #5251
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -388,31 +388,33 @@ | |||||||||||||||||||||||||
| -fx-cursor: hand; | ||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| .installer-item { | ||||||||||||||||||||||||||
| -fx-padding: 8px; | ||||||||||||||||||||||||||
| .installer-item-wrapper { | ||||||||||||||||||||||||||
| -fx-background-color: -monet-surface; | ||||||||||||||||||||||||||
| -fx-background-radius: 4; | ||||||||||||||||||||||||||
| -fx-pref-width: 180px; | ||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| .installer-item-wrapper:card { | ||||||||||||||||||||||||||
|
Comment on lines
+392
to
+397
|
||||||||||||||||||||||||||
| -fx-background-color: -monet-surface; | |
| -fx-background-radius: 4; | |
| -fx-pref-width: 180px; | |
| } | |
| .installer-item-wrapper:card { | |
| -fx-pref-width: 180px; | |
| } | |
| .installer-item-wrapper:card { | |
| -fx-background-color: -monet-surface; | |
| -fx-background-radius: 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
-fx-pref-width: 180px;property should only be applied to CARD style wrappers, not to all installer-item-wrapper elements. In the original CSS, this was only on.installer-item:card. This property should be moved from line 394 to the.installer-item-wrapper:cardselector (line 397) to prevent LIST_ITEM elements from having an incorrect fixed width of 180px.