-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ListView): add Height parameter (#5132)
* refactor: 精简代码 * doc: 移除 lv-demo 样式 * refactor: 更改私有属性为私有字段 * feat: 增加 Height 参数 * style: 更新样式 * doc: 更新示例 * test: 更新单元测试
- Loading branch information
Showing
6 changed files
with
134 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 6 additions & 10 deletions
16
src/BootstrapBlazor.Server/Components/Samples/ListViews.razor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
.lv-demo ::deep .listview { | ||
height: 626px; | ||
img { | ||
margin-bottom: 1rem; | ||
border-radius: var(--bs-border-radius); | ||
} | ||
|
||
.lv-demo ::deep .listview img { | ||
margin-bottom: 1rem; | ||
border-radius: var(--bs-border-radius); | ||
} | ||
|
||
.lv-demo ::deep .listview .listview-demo-desc { | ||
text-align: center; | ||
} | ||
.lv-demo-desc { | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters