Bug 1246162 - Put weak crypto advanced panel in an absolutely positioned container to prevent page content moving. r=Gijs a=ritu

This commit is contained in:
Nihanth Subramanya 2016-05-13 14:02:26 -07:00
parent 0f17dd7674
commit bec59d143c
2 changed files with 15 additions and 7 deletions

View File

@ -512,13 +512,15 @@
</p>
</div>
<div id="weakCryptoAdvancedPanel">
<div id="weakCryptoAdvancedDescription">
<p>&weakCryptoAdvanced.longDesc;</p>
</div>
<div id="advancedLongDesc" />
<div id="overrideWeakCryptoPanel">
<a id="overrideWeakCrypto" href="#">&weakCryptoAdvanced.override;</a>
<div id="advancedPanelContainer">
<div id="weakCryptoAdvancedPanel">
<div id="weakCryptoAdvancedDescription">
<p>&weakCryptoAdvanced.longDesc;</p>
</div>
<div id="advancedLongDesc" />
<div id="overrideWeakCryptoPanel">
<a id="overrideWeakCrypto" href="#">&weakCryptoAdvanced.override;</a>
</div>
</div>
</div>

View File

@ -33,6 +33,12 @@ ul {
max-width: 512px;
}
#advancedPanelContainer {
position: absolute;
padding-bottom: 24px;
width: 100%;
}
#errorTitle {
background: url("chrome://global/skin/icons/info.svg") left 0 no-repeat;
background-size: 3em;