Mercurial > kallithea
changeset 7019:065690dba16b
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
author | domruf <dominikruf@gmail.com> |
---|---|
date | Sun, 29 Oct 2017 11:07:49 +0100 |
parents | e6c0425f5833 |
children | 6351f10ed2bc |
files | kallithea/public/css/style.css kallithea/public/less/style.less kallithea/templates/summary/summary.html |
diffstat | 3 files changed, 2 insertions(+), 48 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;
--- 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 @@ <div class="form-group"> <label>${_('Description')}:</label> - <div class="desc">${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}</div> + <div class="formatted-fixed">${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}</div> </div> <div class="form-group">