Browse Source

trying to get paragraphs in list items under control

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
feature/global_error_display
Stephan Richter 1 month ago
parent
commit
ca3c34ab5b
  1. 7
      frontend/src/routes/tags/Reference.svelte
  2. 5
      web/src/main/resources/web/css/default.css

7
frontend/src/routes/tags/Reference.svelte

@ -37,10 +37,11 @@ @@ -37,10 +37,11 @@
{/if}
{#if object}
{#if module=='bookmark'}
<div>
{@html target(object.comment.rendered)}
{@html target(object.comment.rendered).replace(/<p>(.*?)<\/p>/, '$1')} <!-- this is a workaround for in-proper formatting of paragraphs within list items in firefox -->
<p>
<a href={object.url}>{object.url}</a>
</div>
</p>
<hr/>
{:else if module=='task' || module=='project'}
<span onclick={go}>{object.name}</span>
{:else if module=='document'}

5
web/src/main/resources/web/css/default.css

@ -254,10 +254,6 @@ nav > form{ @@ -254,10 +254,6 @@ nav > form{
display:inline;
}
li > a > p:nth-child(1){
display: inline;
}
.timetracks .duration{
font-weight: bold;
}
@ -361,3 +357,4 @@ a.wikilink{ @@ -361,3 +357,4 @@ a.wikilink{
padding-top: 8px;
}
}

Loading…
Cancel
Save