瀏覽代碼

refac: styling

Timothy Jaeryang Baek 4 月之前
父節點
當前提交
aeafcc7903
共有 2 個文件被更改,包括 5 次插入1 次删除
  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}