# HG changeset patch # User domruf # Date 2017-10-29 11:07:49 # 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 --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -178,25 +178,6 @@ div.panel.panel-default > div.panel-head 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 @@ table#changesets .booktag { text-decoration: none; color: inherit; } -#summary .desc { - white-space: pre; - width: 100%; -} #footer { background-color: #577632; margin-bottom: 0; diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -197,25 +197,7 @@ div.panel.panel-default > div.panel-head 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 @@ div.panel.panel-default > div.panel-head @import "kallithea-tags.less"; -#summary .desc { - white-space: pre; - width: 100%; -} - #footer { background-color: #577632; margin-bottom: 0; diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html +++ b/kallithea/templates/summary/summary.html @@ -77,7 +77,7 @@ ${self.repo_context_bar('summary')}
-
${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}
+
${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}