mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 13:49:50 -04:00
Merge pull request #686 from alphagov/no-jump-email
Stop page jumping on first load with a long email
This commit is contained in:
@@ -47,20 +47,24 @@ $button-bottom-border-colour: rgba(0, 0, 0, 0.17);
|
||||
|
||||
&-wrapper {
|
||||
|
||||
.collapsed & {
|
||||
.js-enabled & {
|
||||
max-height: 92px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.js-enabled .expanded & {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.toggle {
|
||||
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: -18px;
|
||||
height: 27px;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
margin: 0 0 0 -30px;
|
||||
line-height: 12px;
|
||||
@@ -93,3 +97,11 @@ $button-bottom-border-colour: rgba(0, 0, 0, 0.17);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.js-enabled .toggle {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.js-enabled .expanded .toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user