changeset 6742:b89511f1aa24

template: simplify journal styling This requires less css code.
author domruf <dominikruf@gmail.com>
date Tue, 27 Jun 2017 22:16:27 +0200
parents 88383bdb87f0
children 3a65e48d81fe
files kallithea/public/css/style.css kallithea/templates/journal/journal_data.html
diffstat 2 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Mon Jun 26 22:48:09 2017 +0200
+++ b/kallithea/public/css/style.css	Tue Jun 27 22:16:27 2017 +0200
@@ -1158,12 +1158,6 @@
     padding-left: 22px;
 }
 
-#journal .journal_repo {
-    float: left;
-    margin-left: 6px;
-    padding-top: 3px;
-}
-
 #journal .date {
     clear: both;
     color: #777777;
@@ -1171,7 +1165,7 @@
     padding-left: 22px;
 }
 
-#journal .journal_repo .journal_repo_name {
+#journal .journal_repo_name {
     font-weight: bold;
     font-size: 1.1em;
 }
--- a/kallithea/templates/journal/journal_data.html	Mon Jun 26 22:48:09 2017 +0200
+++ b/kallithea/templates/journal/journal_data.html	Tue Jun 27 22:16:27 2017 +0200
@@ -17,8 +17,8 @@
                       <div class="journal_icon"> ${h.action_parser(entry)[2]()}</div>
                     </div>
                     <div class="pull-left">
-                      <div class="journal_action">${h.action_parser(entry)[0]()}</div>
-                      <div class="journal_repo">
+                      <div class="journal_action">
+                          ${h.action_parser(entry)[0]()}
                           <span class="journal_repo_name">
                           %if entry.repository is not None:
                             ${h.link_to(entry.repository.repo_name,