From: Kohei Yoshino Date: Tue, 6 Nov 2018 16:54:29 +0000 (-0500) Subject: Bug 1485303 - lists in component descriptions break describecomponents.cgi layout X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd49379b14f4f97ce5bb3763032a759f8edbd0b8;p=thirdparty%2Fbugzilla.git Bug 1485303 - lists in component descriptions break describecomponents.cgi layout --- diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index ee50c6b77..dbf949802 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -960,6 +960,25 @@ div.ui-tooltip { color: #666; } +.name-info-popup header .description ul, +.name-info-popup header .description ol { + margin: 12px 0; + padding: 0; +} + +.name-info-popup header .description li { + margin-left: 16px; + padding-left: 4px; +} + +.name-info-popup header .description ul li { + list-style-type: disc; +} + +.name-info-popup header .description ol li { + list-style-type: decimal; +} + /* product search */ #field-product { diff --git a/skins/standard/describecomponents.css b/skins/standard/describecomponents.css index b0601541b..8b8a92cf4 100644 --- a/skins/standard/describecomponents.css +++ b/skins/standard/describecomponents.css @@ -36,7 +36,6 @@ .component { display: flex; - align-items: center; margin: 8px 0; border: 1px solid #CCC; border-radius: 4px; @@ -52,17 +51,18 @@ .component header { flex: none; margin-right: 16px; - width: 240px; + width: 280px; } .component h2 { margin: 0; - font-size: 24px; + font-size: 20px; font-weight: normal; } -.component div { +.component header ~ div { flex: auto; + margin: 2px 0; } .component p { @@ -70,7 +70,7 @@ font-size: 16px; } -.component ul { +.component ul.people { display: flex; margin: 8px 0 0; border-top: 1px solid #DDD; @@ -80,7 +80,7 @@ color: #999; } -.component li { +.component ul.people li { margin: 0 16px 0 0; padding: 0; } diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl index 5df08277e..6937e9fab 100644 --- a/template/en/default/reports/components.html.tmpl +++ b/template/en/default/reports/components.html.tmpl @@ -71,12 +71,12 @@

[% comp.name FILTER html %]

+ [%- comp.name FILTER uri %]&resolution=---">[% comp.name FILTER html FILTER wbr %]

[% comp.description FILTER html_light %]

[% IF show_default_people %] -
    +
    • Assignee: [% INCLUDE global/user.html.tmpl who = comp.default_assignee %]
    • [% IF Param("useqacontact") %]
    • QA: [% INCLUDE global/user.html.tmpl who = comp.default_qa_contact %]