Spaces:
Running
Running
Fix: Calculator input display issue (#13)
Browse files- Fix: Calculator input display issue (908e28ef30d4355e56a91a7b83122bc78bcb3898)
Co-authored-by: smolSWE Bot <smolSWE@users.noreply.huggingface.co>
style.css
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
.calculator {
|
3 |
width: 300px;
|
4 |
margin: 50px auto;
|
@@ -8,13 +7,15 @@
|
|
8 |
}
|
9 |
|
10 |
.calculator input {
|
11 |
-
width:
|
12 |
padding: 20px;
|
13 |
font-size: 24px;
|
14 |
border: none;
|
15 |
background-color: #222;
|
16 |
color: white;
|
17 |
text-align: right;
|
|
|
|
|
18 |
}
|
19 |
|
20 |
.calculator .buttons {
|
@@ -46,4 +47,4 @@
|
|
46 |
|
47 |
.calculator .buttons button:nth-child(4n):hover {
|
48 |
background-color: #f2b96e;
|
49 |
-
}
|
|
|
|
|
1 |
.calculator {
|
2 |
width: 300px;
|
3 |
margin: 50px auto;
|
|
|
7 |
}
|
8 |
|
9 |
.calculator input {
|
10 |
+
width: auto;
|
11 |
padding: 20px;
|
12 |
font-size: 24px;
|
13 |
border: none;
|
14 |
background-color: #222;
|
15 |
color: white;
|
16 |
text-align: right;
|
17 |
+
white-space: nowrap;
|
18 |
+
overflow-x: auto;
|
19 |
}
|
20 |
|
21 |
.calculator .buttons {
|
|
|
47 |
|
48 |
.calculator .buttons button:nth-child(4n):hover {
|
49 |
background-color: #f2b96e;
|
50 |
+
}
|