Skip to content

Commit

Permalink
Merge pull request #237 from rust-embedded/register-map
Browse files Browse the repository at this point in the history
register-map-table column size
  • Loading branch information
burrbull committed Aug 10, 2024
2 parents abf860f + 15cb0a8 commit d6b4e9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This changelog tracks the Rust `svdtools` project. See

## [Unreleased]

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

## [v0.3.17] 2024-07-05
Expand Down
5 changes: 4 additions & 1 deletion src/html/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
.bitfield td.separated {
background-color:#eee;
}
.register-map-table th {
min-width: 15px;
}
summary {
/* fix bootstrap 2 bug, https://github.com/twbs/bootstrap/issues/21060 */
display: list-item;
Expand Down Expand Up @@ -82,7 +85,7 @@
fields covered
</div>
<div class="progress">

<div class="progress-bar progress-bar-success" style="width: {{ device.progress }}%">
</div>
</div>
Expand Down

0 comments on commit d6b4e9d

Please sign in to comment.