Skip to content

Commit

Permalink
Merge pull request #9 from lemo-nade-room/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
lemo-nade-room authored Jun 9, 2024
2 parents 3dc0058 + 8e475e9 commit 6d50766
Show file tree
Hide file tree
Showing 17 changed files with 473 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/svelte-diff-highlighting.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions src/lib/ui/Highlighted.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</script>

<div class="scroll svelte-diff-highlighting">
<p class="highlighted">
<p class="highlighted" translate="no">
{#each lines as line, i}
{@const lineNumber = i + 1}
<span class="line">
Expand Down Expand Up @@ -76,9 +76,8 @@
background: var(--background, none);
margin: var(--margin, 0);
padding: var(--padding, 0);
white-space: var(--white-space, pre-wrap);
white-space: pre-wrap;
tab-size: var(--tab-size, 2);
box-sizing: var(--box-sizing, border-box);
scrollbar-width: var(--scrollbar-width, thin);
scrollbar-color: var(--scrollbar-color, auto);
Expand All @@ -87,7 +86,7 @@
width: var(--content-width, max-content);
height: var(--content-height, max-content);
padding: calc(var(--line-number-font-size, 14px) * 0.4) 0;
white-space: nowrap;
white-space: var(--white-space, nowrap);
user-select: none;
-webkit-user-select: none;
--omission-icon-size: calc(var(--line-number-font-size, 14px) * 0.8);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ui/HighlightedRemovedLines.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
display: block;
width: calc(100% - var(--omission-icon-size));
height: 100%;
background-color: var(--removed-line-color, #ffb74c);
background-color: var(--omission-icon-color, #ffb74c);
}
display: flex;
Expand Down
4 changes: 1 addition & 3 deletions src/lib/ui/OmissionIcon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
}
</script>

<button class="omission-icon" class:open on:click={toggle}>
<span class="circle"></span>
</button>
<button class="omission-icon" class:open on:click={toggle} />

<style>
.omission-icon {
Expand Down
Loading

0 comments on commit 6d50766

Please sign in to comment.