Skip to content

Commit 0914b6c

Browse files
committed
refactor: Update button styles and layout in App.css for improved flexibility and alignment
1 parent b2338b3 commit 0914b6c

1 file changed

Lines changed: 6 additions & 50 deletions

File tree

src/assets/App.css

Lines changed: 6 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -122,68 +122,24 @@ a {
122122
}
123123

124124
.extras {
125-
display: nore;
126-
flex-direction: row;
127-
align-content: center;
128125
order: 2;
129126
}
130127

131-
.extraBtn {
132-
background-color: var(--button-background-color);
133-
color: var(--button-text-color);
134-
margin-left: 8px;
135-
height: 40px;
136-
width: 40px;
137-
line-height: 44px;
138-
font-size: 18px;
139-
text-align: center;
140-
border: 0;
141-
border-radius: 20px;
142-
cursor: pointer;
143-
position: relative;
128+
.buttonsFlex {
144129
display: inline-flex;
145-
align-items: center;
146-
justify-content: center;
147-
}
148-
149-
.extraBtn:first-child {
150-
margin-left: 0;
151-
}
152-
153-
.extraTextBtn {
154-
padding: 0 16px;
155-
width: auto;
156-
min-width: 40px;
157-
font-weight: bold;
158-
}
159-
160-
.darkModeBtn {
161-
background-color: var(--dark-mode-background-color);
162-
color: var(--dark-mode-text-color);
130+
flex-direction: row;
131+
align-content: center;
132+
column-gap: 8px;
133+
row-gap: 8px;
163134
}
164135

165-
.extraTextWithIconBtn {
166-
background-color: var(--button-background-color);
167-
color: var(--button-text-color);
168-
height: 40px;
169-
width: auto;
170-
padding: 0 16px;
171-
min-width: 40px;
136+
.dndButton {
172137
font-weight: bold;
173-
font-size: 18px;
174-
text-align: center;
175-
border: 0;
176-
border-radius: 20px;
177-
display: inline-flex;
178-
align-items: center;
179-
justify-content: center;
180-
gap: 6px;
181138
}
182139

183140
.profileImage {
184141
height: 40px;
185142
width: 40px;
186-
margin-left: 8px;
187143
border-radius: 20px;
188144
}
189145

0 commit comments

Comments
 (0)