mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +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) {
|
||||
&__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 {
|
||||
margin-bottom: 8px;
|
||||
grid-area: paste-tip;
|
||||
width: max-content;
|
||||
width: auto;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user