Closed Bug 683837 Opened 13 years ago Closed 13 years ago

Hide nurse when locale is 'ja' in the bottom of kb pages

Categories

(support.mozilla.org :: Localization, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2011-09-13

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(3 files)

Cat nurse mascot should be hidden when locale is "ja" (bug 615495).

Please hide it in the bottom of kb pages too.
For example:
https://support.mozilla.com/ja/kb/Firefox%20crashes

following style works:
https://github.com/jsocol/kitsune/blob/master/media/css/wiki.css#L78
 #more-help {
     background: transparent url(../img/wiki/morehelp.nurse.png) no-repeat left top;
     min-height: 220px;
     padding: 25px 0 0 175px;
 }
+
+html[lang=ja] #more-help {
+    background: none;
+}
Blocks: 615495
better to adjust spaces with these style:

html[lang="ja"] #more-help {
    background: none;
    padding: 25px 0 0 25px;
}
html[lang="ja"] #more-help ul {
    width: 350px;
}
html[lang="ja"] #more-help div.support-search {
    left: 400px;
    width: 305px;
}
html[lang="ja"] #more-help div.support-search input.text {
    width: 209px;
}
Attached image before the patch
Attached image after the patch
not only hiding the nurse, enough space for the search input box
Attachment #557438 - Flags: review?(james)
Attachment #557438 - Flags: review?(james) → review+
https://github.com/jsocol/kitsune/commit/555381c93a9c1e574272cf0491b8e57a0082aa90

Thanks for the patch dynamis! You can always just open pull requests on Github, too.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee: nobody → bugzilla
Target Milestone: --- → 2011-09-13
Verified cat no longer displays on /ja/home or kb articles
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: