Skip to content

Commit

Permalink
more css tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: yzamir <[email protected]>
  • Loading branch information
yaacov committed Oct 2, 2023
1 parent 5078006 commit ef9aa03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

.group-margin {
margin: 0 10px;
margin: 0 8px;
}

.main-container {
Expand Down
6 changes: 3 additions & 3 deletions public/js/components/led-register-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class LedRegisterTable extends HTMLElement {
let tableContent = html`
<style>
table {
padding-left: 65px;
padding-left: 16px;
font-size: 12px;
}
td {
Expand All @@ -44,16 +44,16 @@ class LedRegisterTable extends HTMLElement {
</style>
<table>
<tr>
<td class="label">RegA</td>
<td><led-array color="red" width="8" value="${regA}"></led-array></td>
<td>0x${regA.toString(16).toUpperCase().padStart(2, '0')}</td>
<td class="decimal">${regA.toString(10).padStart(3, '0')}</td>
<td class="label">Reg-A</td>
</tr>
<tr>
<td class="label">RegB</td>
<td><led-array color="red" width="8" value="${regB}"></led-array></td>
<td>0x${regB.toString(16).toUpperCase().padStart(2, '0')}</td>
<td class="decimal">${regB.toString(10).padStart(3, '0')}</td>
<td class="label">Reg-A</td>
</tr>
</table>
`;
Expand Down

0 comments on commit ef9aa03

Please sign in to comment.