mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
nicer auto-layout for prefix/postfix input groups
This commit is contained in:
parent
a223ed603c
commit
011a87e6b8
@ -12,6 +12,7 @@
|
||||
border-radius: var(--border-radius);
|
||||
transition: 0.2s ease-out;
|
||||
min-height: 43px;
|
||||
min-width: 0;
|
||||
appearance: none;
|
||||
display: block;
|
||||
}
|
||||
@ -87,15 +88,10 @@
|
||||
|
||||
.prefixGroup,
|
||||
.postfixGroup {
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.prefixGroup input,
|
||||
.postfixGroup input {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.prefixGroup input {
|
||||
border-left: 0;
|
||||
border-top-left-radius: 0;
|
||||
@ -114,11 +110,12 @@
|
||||
min-height: 43px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: calc(var(--spacer) / 2);
|
||||
padding-right: calc(var(--spacer) / 2);
|
||||
padding-left: calc(var(--spacer) / 4);
|
||||
padding-right: calc(var(--spacer) / 4);
|
||||
color: var(--color-secondary);
|
||||
font-size: var(--font-size-small);
|
||||
transition: border 0.2s ease-out;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.prefix {
|
||||
|
@ -13,7 +13,6 @@
|
||||
}
|
||||
|
||||
.content input {
|
||||
max-width: 6rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user