diff --git a/src/app.postcss b/src/app.postcss index 37f6b98f..ecddb581 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -459,3 +459,26 @@ img.qr_code:focus { display: none; } } + +/* We need to reset many of the styles for the reset_css class. */ +.reset_css p { + margin: .75em 0; +} +.reset_css ol { + list-style-type: decimal; +} +.reset_css ul { + list-style-type: disc; +} +.reset_css li { + margin-left: 1.5em; +} +/* Reset anchor tags to the default color and underline. */ +.reset_css a { + color: hsla(210, 100%, 50%, 1); + text-decoration: underline; +} +.reset_css a:hover { + color: hsla(210, 100%, 50%, .75); + text-decoration: none; +} \ No newline at end of file diff --git a/src/routes/events/[event_id]/device/ae_comp__event_device_obj_li.svelte b/src/routes/events/[event_id]/device/ae_comp__event_device_obj_li.svelte index 8962d024..c60fdf48 100644 --- a/src/routes/events/[event_id]/device/ae_comp__event_device_obj_li.svelte +++ b/src/routes/events/[event_id]/device/ae_comp__event_device_obj_li.svelte @@ -153,7 +153,7 @@ if (auto_refresh) { class="text-red-500 bg-red-200 p-1 rounded-md border border-red-200 text-center" title="{event_device_obj.alert_msg}" > - + {/if} {#if event_device_obj?.status} @@ -162,7 +162,7 @@ if (auto_refresh) { class="text-blue-500 bg-blue-200 p-1 rounded-md border border-blue-200 text-center" title="{event_device_obj.status_msg}" > - + {/if} {#if event_device_obj?.record_status} @@ -171,7 +171,7 @@ if (auto_refresh) { class="text-orange-500 bg-orange-200 p-1 rounded-md border border-orange-200 text-center" title="{event_device_obj.record_status_msg}" > - + {/if} @@ -241,11 +241,11 @@ if (auto_refresh) { class:hidden={!event_device_obj?.alert && !event_device_obj?.alert_msg} >
- + {event_device_obj?.alert ? 'Alert' : 'No Alert'} - +
@@ -263,11 +263,11 @@ if (auto_refresh) { class:hidden={!event_device_obj?.status && !event_device_obj?.status_msg} >
- + {event_device_obj?.status ? event_device_obj?.status : 'No Status'} - +
@@ -285,7 +285,7 @@ if (auto_refresh) { class:hidden={!event_device_obj?.record_status && !event_device_obj?.record_status_msg} >
- + {#if event_device_obj?.record_status && event_device_obj?.record_status.length > 10} {ae_util.iso_datetime_formatter(event_device_obj?.record_status, 'time_iso_12_tz')} @@ -296,7 +296,7 @@ if (auto_refresh) { {:else} No Recording Status {/if} - +
diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte index 55244b1d..637d7a72 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_id_view.svelte @@ -107,7 +107,10 @@ onDestroy(() => {
-->
-
{@html $lq__post_obj?.content}
+ + + +
{@html $lq__post_obj?.content}
{#if $lq__post_obj?.linked_li_json && $lq__post_obj?.linked_li_json.length}
@@ -336,4 +339,5 @@ onDestroy(() => { diff --git a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_li.svelte b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_li.svelte index de3b7fa8..73f7199f 100644 --- a/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_li.svelte +++ b/src/routes/idaa/(idaa)/bb/ae_idaa_comp__post_obj_li.svelte @@ -39,7 +39,8 @@ onMount(() => { - {#if idaa_post_obj.content}
{@html idaa_post_obj.content}
{/if} + + {#if idaa_post_obj.content}
{@html idaa_post_obj.content}
{/if}