Skip to content

Commit 879b4f4

Browse files
Updated Button Width
1 parent 10f2ef6 commit 879b4f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ <h1><a style="text-decoration: none; color: #f1c40f; margin-left: 1.25rem;" href
8787
<td>
8888
<div class="row">
8989
<div class="col">
90-
<button style="background-color: #f01600; font-weight: bold; color: #ecf0f1; width: 140px;font-size: 35px;" onclick="clearAll()">C</button>
90+
<button style="background-color: #f01600; font-weight: bold; color: #ecf0f1; width: 8vw;font-size: 35px;" onclick="clearAll()">C</button>
9191
</div>
9292
<div class="col">
93-
<button style="background-color: #f01600; font-weight: bold; color: #ecf0f1;width: 140px;font-size: 35px;" onclick="deleteLastEntry()">CE</button>
93+
<button style="background-color: #f01600; font-weight: bold; color: #ecf0f1;width: 8vw;font-size: 35px;" onclick="deleteLastEntry()">CE</button>
9494
</div>
9595
</div>
9696

style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,7 @@ input:checked + .toggle-slider:before {
275275
display: flex;
276276
font-size: 1rem;
277277
justify-content: center;
278+
max-width: 20vw;
279+
margin: auto;
278280
}
279281

0 commit comments

Comments
 (0)