mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
fix(1816): fixed an style issue inconsistency on home page (#1817)
This commit is contained in:
committed by
GitHub
parent
064fc0b1c8
commit
34a18e88c7
@@ -79,6 +79,14 @@ main.home {
|
||||
margin-top: 150px;
|
||||
}
|
||||
|
||||
.non-en-doc:has(#i18n-notice-box.hidden) #home-content {
|
||||
margin-top: 150px;
|
||||
}
|
||||
|
||||
.non-en-doc:has(#i18n-notice-box:not(.hidden)) .content {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#homepage-leftpane {
|
||||
min-width: 500px;
|
||||
margin-right: 30px;
|
||||
|
||||
@@ -79,11 +79,13 @@ $(function(){
|
||||
|
||||
// i18n notice
|
||||
if (readCookie('i18nClose')) {
|
||||
$('#i18n-notice-box').hide()
|
||||
$('#i18n-notice-box').hide();
|
||||
$("#i18n-notice-box").addClass("hidden");
|
||||
}
|
||||
else {
|
||||
$('#close-i18n-notice-box').on('click', function () {
|
||||
$('#i18n-notice-box').hide()
|
||||
$('#i18n-notice-box').hide();
|
||||
$("#i18n-notice-box").addClass("hidden");
|
||||
createCookie('i18nClose', 1);
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user