mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix SrpInput small viewport styles (#14087)
The styles for smaller viewports were broken because I forgot to update the small-screen grid template after adding the "paste-tip". The styles have now been updated to fit the content properly on all of our supported screen sizes.
This commit is contained in:
parent
00341cd3b3
commit
49e65a7061
@ -11,7 +11,13 @@
|
|||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
&__container {
|
&__container {
|
||||||
grid-template-areas: "title" "dropdown" "input" "error";
|
grid-template-areas:
|
||||||
|
"title"
|
||||||
|
"dropdown"
|
||||||
|
"paste-tip"
|
||||||
|
"input"
|
||||||
|
"error"
|
||||||
|
"too-many-words-error";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,7 +32,7 @@
|
|||||||
&__paste-tip {
|
&__paste-tip {
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
grid-area: paste-tip;
|
grid-area: paste-tip;
|
||||||
width: max-content;
|
width: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user