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. 7
      web/src/main/resources/web/css/default.css

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

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

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

@ -254,10 +254,6 @@ nav > form{
display:inline; display:inline;
} }
li > a > p:nth-child(1){
display: inline;
}
.timetracks .duration{ .timetracks .duration{
font-weight: bold; font-weight: bold;
} }
@ -357,7 +353,8 @@ a.wikilink{
} }
.grid2 > :nth-child(2n-1){ .grid2 > :nth-child(2n-1){
text-align: initial ; text-align: initial;
padding-top: 8px; padding-top: 8px;
} }
} }

Loading…
Cancel
Save