# HG changeset patch # User domruf # Date 1509271669 -3600 # Node ID 065690dba16bc2df2798bd5cd4d245831076b85f # Parent e6c0425f583357655151888b887c9e32f82840f2 less: drop special summary style - remove special margin - use the same style for all descriptions (same as .formatted-fixed) - there is no #content div.panel #summary p diff -r e6c0425f5833 -r 065690dba16b kallithea/public/css/style.css --- a/kallithea/public/css/style.css Sun Oct 29 01:31:02 2017 +0200 +++ b/kallithea/public/css/style.css Sun Oct 29 11:07:49 2017 +0100 @@ -178,25 +178,6 @@ border-right: 1px solid #bebebe; color: #515151; } -#content div.panel div#summary-panel-body.form div.form-group > div { - margin: 0 0 10px 150px; -} -#content div.panel #summary { - margin-right: 200px; - min-height: 200px; -} -#summary .metatag { - display: inline-block; - padding: 3px 5px; - margin-bottom: 3px; - margin-right: 1px; - border-radius: 5px; -} -#content div.panel #summary p { - margin-bottom: -5px; - width: 600px; - white-space: pre-wrap; -} #clone_by_name.input-group, #clone_by_id.input-group { width: 100%; @@ -450,10 +431,6 @@ text-decoration: none; color: inherit; } -#summary .desc { - white-space: pre; - width: 100%; -} #footer { background-color: #577632; margin-bottom: 0; diff -r e6c0425f5833 -r 065690dba16b kallithea/public/less/style.less --- a/kallithea/public/less/style.less Sun Oct 29 01:31:02 2017 +0200 +++ b/kallithea/public/less/style.less Sun Oct 29 11:07:49 2017 +0100 @@ -197,25 +197,7 @@ border-right: 1px solid #bebebe; color: #515151; } -#content div.panel div#summary-panel-body.form div.form-group > div { - margin: 0 0 10px 150px; -} -#content div.panel #summary { - margin-right: 200px; - min-height: 200px; -} -#summary .metatag { - display: inline-block; - padding: 3px 5px; - margin-bottom: 3px; - margin-right: 1px; - border-radius: 5px; -} -#content div.panel #summary p { - margin-bottom: -5px; - width: 600px; - white-space: pre-wrap; -} + #clone_by_name.input-group, #clone_by_id.input-group { width: 100%; @@ -237,11 +219,6 @@ @import "kallithea-tags.less"; -#summary .desc { - white-space: pre; - width: 100%; -} - #footer { background-color: #577632; margin-bottom: 0; diff -r e6c0425f5833 -r 065690dba16b kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html Sun Oct 29 01:31:02 2017 +0200 +++ b/kallithea/templates/summary/summary.html Sun Oct 29 11:07:49 2017 +0100 @@ -77,7 +77,7 @@
-
${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}
+
${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}