GarGerry commited on
Commit
da3ee7d
·
verified ·
1 Parent(s): 7a96c2c

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +18 -6
style.css CHANGED
@@ -48,8 +48,8 @@ body {
48
  display: flex;
49
  flex-direction: column;
50
  align-items: center;
51
- width: 80%; /* More width */
52
- max-width: 800px; /* Wider container */
53
  margin: 0 auto;
54
  padding: 30px;
55
  border-radius: 12px;
@@ -81,17 +81,29 @@ body {
81
  .currency-select {
82
  display: flex;
83
  align-items: center;
84
- justify-content: space-between;
85
  width: 100%;
86
  margin-bottom: 20px;
 
87
  }
88
 
89
- .currency-select select, .currency-select button {
90
- padding: 12px;
 
 
 
 
 
91
  font-size: 16px;
 
 
 
 
 
 
92
  border-radius: 8px;
93
  border: 1px solid #ccc;
94
- width: 45%;
95
  }
96
 
97
  #swap-btn {
 
48
  display: flex;
49
  flex-direction: column;
50
  align-items: center;
51
+ width: 80%;
52
+ max-width: 800px;
53
  margin: 0 auto;
54
  padding: 30px;
55
  border-radius: 12px;
 
81
  .currency-select {
82
  display: flex;
83
  align-items: center;
84
+ justify-content: center;
85
  width: 100%;
86
  margin-bottom: 20px;
87
+ flex-wrap: wrap; /* Allows wrap on small screens */
88
  }
89
 
90
+ .currency-group {
91
+ margin: 10px;
92
+ text-align: left;
93
+ }
94
+
95
+ .currency-group label {
96
+ font-weight: bold;
97
  font-size: 16px;
98
+ }
99
+
100
+ .currency-group select {
101
+ padding: 10px;
102
+ font-size: 16px;
103
+ width: 150px;
104
  border-radius: 8px;
105
  border: 1px solid #ccc;
106
+ box-sizing: border-box;
107
  }
108
 
109
  #swap-btn {