зеркало из https://github.com/mozilla/kitsune.git
[fix bug 842527] 'Article is for' box overlaps the article editor
This commit is contained in:
Родитель
be7f51e2e5
Коммит
0d6fbb56ef
|
@ -233,7 +233,7 @@
|
|||
{% endif %}
|
||||
<section id="support-for">
|
||||
{% if header %}
|
||||
<h1>{{ header }}</h1>
|
||||
<h1>{{ header }} <div id="support-for-exit">x</div></h1>
|
||||
{% endif %}
|
||||
<div>
|
||||
<select id="os" data-oses="{{ oses_json }}" class="enable-if-js" disabled="disabled">
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
initExitSupportFor();
|
||||
initArticlePreview();
|
||||
initPreviewDiff();
|
||||
initTitleAndSlugCheck();
|
||||
|
@ -736,5 +736,11 @@
|
|||
$('#doc-content h1:visible').first().click();
|
||||
}
|
||||
|
||||
function initExitSupportFor() {
|
||||
$('#support-for-exit').live('click', function() {
|
||||
$('#support-for').remove();
|
||||
});
|
||||
}
|
||||
|
||||
}(jQuery));
|
||||
|
||||
|
|
|
@ -753,6 +753,19 @@ textarea[name="content"] {
|
|||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
#support-for-exit {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
z-index: 11;
|
||||
&:hover {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#preview-bottom {
|
||||
|
|
Загрузка…
Ссылка в новой задаче