Skip to content

Commit ccba63e

Browse files
authored
ui-fixes-113 (#9438)
* fix(ui): update commit message rewrap label for clarity and remove icon * refactor: remove inapplicable styles
1 parent 1059fa3 commit ccba63e

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

apps/desktop/src/components/CommitContextMenu.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@
160160
{/if}
161161
<ContextMenuSection>
162162
<ContextMenuItem
163-
icon="text-wrap"
164-
label={$rewrapCommitMessage ? 'Original' : 'Re-wrap'}
163+
label={$rewrapCommitMessage ? 'Show original wrapping' : 'Rewrap message'}
165164
disabled={commitInsertion.current.isLoading}
166165
onclick={() => {
167166
rewrapCommitMessage.set(!$rewrapCommitMessage);

apps/desktop/src/components/CommitDetails.svelte

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<button
101101
onclick={() => (expanded = !expanded)}
102102
type="button"
103-
class="readmore text-13 text-bold"
103+
class="readmore text-13 text-semibold"
104104
>
105105
{#if expanded}
106106
less
@@ -147,17 +147,7 @@
147147
148148
.readmore {
149149
display: inline;
150-
background: var(--clr-bg-1);
150+
position: relative;
151151
text-decoration: underline dotted;
152-
153-
&::before {
154-
position: absolute;
155-
top: 0;
156-
left: -20px;
157-
width: 20px;
158-
height: 100%;
159-
background: linear-gradient(to right, transparent 0%, var(--clr-bg-1) 100%);
160-
content: '';
161-
}
162152
}
163153
</style>

0 commit comments

Comments
 (0)