Skip to content

Commit d6b4e9d

Browse files
authored
Merge pull request #237 from rust-embedded/register-map
register-map-table column size
2 parents abf860f + 15cb0a8 commit d6b4e9d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG-rust.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This changelog tracks the Rust `svdtools` project. See
55

66
## [Unreleased]
77

8+
* Prevent collapsing columns in HTML `register-map-table` with `min-width`
89
* Protect from using one `enumeratedValues` in fields with different width
910

1011
## [v0.3.17] 2024-07-05

src/html/template.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
.bitfield td.separated {
4646
background-color:#eee;
4747
}
48+
.register-map-table th {
49+
min-width: 15px;
50+
}
4851
summary {
4952
/* fix bootstrap 2 bug, https://github.com/twbs/bootstrap/issues/21060 */
5053
display: list-item;
@@ -82,7 +85,7 @@
8285
fields covered
8386
</div>
8487
<div class="progress">
85-
88+
8689
<div class="progress-bar progress-bar-success" style="width: {{ device.progress }}%">
8790
</div>
8891
</div>

0 commit comments

Comments
 (0)