Refactor wallet component styles for improved responsiveness and alignment
This commit is contained in:
1 parent
4b63076acc
commit
825a2e2bc4
1 file changed
+22
-12
@@ -1,15 +1,23 @@
|
|||||||
.wallet-adapter-dropdown {
|
.wallet-adapter-dropdown {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--env-var-spacing-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallet-adapter-button {
|
.wallet-adapter-button {
|
||||||
width: 100%;
|
display: flex;
|
||||||
justify-content: center;
|
align-items: center;
|
||||||
height: var(--button-height) !important;
|
justify-content: center;
|
||||||
font-size: var(--font-size-body) !important;
|
width: auto;
|
||||||
font-weight: var(--font-weight-medium) !important;
|
height: var(--env-var-height-2) !important;
|
||||||
margin: var(--spacing-xs) 0;
|
font-size: var(--env-var-font-size-medium-plus) !important;
|
||||||
white-space: nowrap;
|
font-weight: 500 !important;
|
||||||
|
margin: 0;
|
||||||
|
padding: calc((var(--env-var-height-2) - var(--env-var-font-size-medium-plus) * 1.2) / 2) var(--env-var-spacing-1);
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallet-adapter-modal-title {
|
.wallet-adapter-modal-title {
|
||||||
@@ -24,10 +32,12 @@
|
|||||||
|
|
||||||
/* Responsive fixes */
|
/* Responsive fixes */
|
||||||
@media (max-width: 1093px) {
|
@media (max-width: 1093px) {
|
||||||
.wallet-adapter-button {
|
.wallet-adapter-button {
|
||||||
padding: var(--spacing-xs) var(--spacing-sm) !important;
|
font-size: var(--env-var-font-size-medium) !important;
|
||||||
font-size: calc(var(--font-size-body) * 0.9) !important;
|
padding: calc((var(--env-var-height-2) - var(--env-var-font-size-medium) * 1.2) / 2)
|
||||||
}
|
var(--env-var-spacing-1-minus) !important;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 910px) {
|
@media (max-width: 910px) {
|
||||||
|
|||||||
Reference in new issue
Block a user