]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1485303 - lists in component descriptions break describecomponents.cgi layout
authorKohei Yoshino <kohei.yoshino@gmail.com>
Tue, 6 Nov 2018 16:54:29 +0000 (11:54 -0500)
committerDylan William Hardison <dylan@hardison.net>
Tue, 6 Nov 2018 16:54:29 +0000 (11:54 -0500)
extensions/BugModal/web/bug_modal.css
skins/standard/describecomponents.css
template/en/default/reports/components.html.tmpl

index ee50c6b776baf2bc13c792edc3d66da4f13c664d..dbf94980229e07f67ebed32320a5fc53ec336a83 100644 (file)
@@ -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 {
index b0601541b7fbaed8fba56efda66d6b5f49a34609..8b8a92cf4e7ae196c045a3861796f7e1fb596e81 100644 (file)
@@ -36,7 +36,6 @@
 
 .component {
   display: flex;
-  align-items: center;
   margin: 8px 0;
   border: 1px solid #CCC;
   border-radius: 4px;
 .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;
 }
index 5df08277e8d531ea473452aac7bb5299dc336342..6937e9fab373e04e0df885251e9c7901b24cf0f8 100644 (file)
   <section id="[% comp.name FILTER html %]" class="component[%- IF comp.name == component_mark %] highlight[% END %]">
     <header>
       <h2><a href="[% basepath FILTER none %]buglist.cgi?product=[%- product.name FILTER uri %]&amp;component=
-                   [%- comp.name FILTER uri %]&amp;resolution=---">[% comp.name FILTER html %]</a></h2>
+                   [%- comp.name FILTER uri %]&amp;resolution=---">[% comp.name FILTER html FILTER wbr %]</a></h2>
     </header>
     <div>
       <p class="description">[% comp.description FILTER html_light %]</p>
       [% IF show_default_people %]
-      <ul>
+      <ul class="people">
         <li>Assignee: [% INCLUDE global/user.html.tmpl who = comp.default_assignee %]</li>
         [% IF Param("useqacontact") %]
         <li>QA: [% INCLUDE global/user.html.tmpl who = comp.default_qa_contact %]</li>