-
-
Notifications
You must be signed in to change notification settings - Fork 381
doc(Pre): update max-height style #7723
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
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -75,7 +75,6 @@ public partial class Pre | |||||
|
|
||||||
| private string? StyleString => CssBuilder.Default() | ||||||
| .AddClass($"height: {Height};", !string.IsNullOrEmpty(Height)) | ||||||
| .AddClass("max-height: 260px;", string.IsNullOrEmpty(Height)) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue (bug_risk): Removing the default max-height may affect Pre usage outside DemoBlock contexts.
|
||||||
| .AddClassFromAttributes(AdditionalAttributes) | ||||||
|
||||||
| .AddClassFromAttributes(AdditionalAttributes) | |
| .AddStyleFromAttributes(AdditionalAttributes) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| .bb-title { | ||
| .bb-title { | ||
|
||
| font-size: 1.2rem; | ||
| display: flex; | ||
| justify-content: center; | ||
|
|
||
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.
This file now starts without the UTF-8 BOM marker, while most
.razor.cssfiles in this project appear to keep the BOM. If the change is unintentional, consider restoring the BOM to keep encoding consistent and reduce churn in diffs.