Skip to content

Commit fe637cd

Browse files
committed
feat: UI improvements
1 parent 8de003e commit fe637cd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

apps/browser-extension/src/routes/+layout.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
{#if $page.url.pathname === '/settings'}
4040
<h1>Settings</h1>
4141

42-
<a href="/"> <Icon name="xmark" --size="1.625rem" /></a>
42+
<a href="/"> <Icon name="xmark" --size="1.5rem" /></a>
4343
{:else}
4444
<h1>
4545
🔥 roast<strong>.dev</strong>
4646
</h1>
4747

4848
<a href="/settings">
49-
<Icon name="settings" --stroke="var(--c-text-light)" --size="1.625rem" />
49+
<Icon name="settings" --stroke="var(--c-text-light)" --size="1.5rem" />
5050
</a>
5151
{/if}
5252
</header>
@@ -67,7 +67,7 @@
6767
justify-content: space-between;
6868
6969
h1 {
70-
font-size: 1.75rem;
70+
font-size: 1.5rem;
7171
margin: 0;
7272
7373
strong {

apps/browser-extension/src/routes/+page.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ ${file.content}
207207
});
208208
}
209209
210-
statusText = `Roasting your code 🔥 Do not close the plugin window or I'll smack ya!`;
210+
statusText = `Roasting your code 🔥 Do not close the plugin window or I'll smack ya! 🥊`;
211211
212212
const { content, role } = await generateRoast(roastConversation.messages ?? []);
213213
@@ -273,7 +273,7 @@ ${file.content}
273273
</script>
274274

275275
{#if roastPrTitle}
276-
<header>
276+
<div class="top">
277277
<Logo name="github" --size="1.625rem" --fill="var(--c-text)" />
278278

279279
<h1 class="pr-title">
@@ -283,7 +283,7 @@ ${file.content}
283283
#{@html roastPrUrl.replace('/files', '').split('/').pop()}
284284
</span>
285285
</h1>
286-
</header>
286+
</div>
287287
{/if}
288288

289289
{#if isOnWrongPage && tabUrl.includes('/pull/')}
@@ -348,7 +348,7 @@ ${file.content}
348348
{/if}
349349

350350
<style>
351-
header {
351+
.top {
352352
align-items: start;
353353
display: inline-grid;
354354
gap: 0.5rem;

0 commit comments

Comments
 (0)