Browse Source

refac: styling

Timothy Jaeryang Baek 3 weeks ago
parent
commit
aeafcc7903
2 changed files with 5 additions and 1 deletions
  1. 4 0
      src/app.css
  2. 1 1
      src/lib/components/chat/MessageInput.svelte

+ 4 - 0
src/app.css

@@ -44,6 +44,10 @@ code {
 	font-family: 'InstrumentSerif', sans-serif;
 }
 
+.marked a {
+	@apply underline;
+}
+
 math {
 	margin-top: 1rem;
 }

+ 1 - 1
src/lib/components/chat/MessageInput.svelte

@@ -1526,7 +1526,7 @@
 							</div>
 
 							{#if $config?.license_metadata?.input_footer}
-								<div class=" text-xs text-gray-500 text-center line-clamp-1">
+								<div class=" text-xs text-gray-500 text-center line-clamp-1 marked">
 									{@html DOMPurify.sanitize(marked($config?.license_metadata?.input_footer))}
 								</div>
 							{:else}