Fix Trade style
This commit is contained in:
parent
58d2a19ada
commit
67f2580e3a
@ -4,15 +4,22 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-right: 0.25rem;
|
margin-right: 0.25rem;
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
|
/* allow the Trade component to stretch to its sidebar/container */
|
||||||
|
align-self: stretch;
|
||||||
|
width: 100%;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Trade > * {
|
.Trade > * {
|
||||||
max-height: calc(100dvh - 2rem);
|
max-height: calc(100dvh - 2rem);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
width: 32em;
|
/* fill the available width of the sidebar rather than using a fixed size */
|
||||||
display: inline-flex;
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
display: flex;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Trade .Title {
|
.Trade .Title {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user