File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed
apps/desktop/src/components Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 67
67
$aborted = true ;
68
68
posthog .captureOnboarding (OnboardingEvent .CancelLoginGitButler );
69
69
}}
70
- loading ={$aborted }>Cancel login attempt </Button
70
+ loading ={$aborted }>Abort </Button
71
71
>
72
72
</div >
73
73
{/if }
Original file line number Diff line number Diff line change 54
54
55
55
{#if $loading }
56
56
<div >
57
- <Button kind ="outline" onclick ={() => ($aborted = true )} loading ={$aborted }
58
- >Cancel login attempt</Button
59
- >
57
+ <Button kind ="outline" onclick ={() => ($aborted = true )} loading ={$aborted }>Abort</Button >
60
58
</div >
61
59
{/if }
62
60
{/if }
Original file line number Diff line number Diff line change 53
53
54
54
<div class =" chat-container" >
55
55
<div class ="chat-messages" onscroll ={handleScroll }>
56
- <div bind:this ={bottomAnchor } style =" height: 1px; margin-top: 8px; " ></div >
56
+ <div bind:this ={bottomAnchor } style =" height: 1px;" ></div >
57
57
{@render messages ()}
58
58
</div >
59
59
106
106
.chat-header__actions {
107
107
display : flex;
108
108
align-items : center;
109
-
110
109
gap : 4 px ;
111
110
}
112
111
121
120
display : flex;
122
121
flex-direction : column-reverse;
123
122
width : 100 % ;
124
- padding : 8 px 20 px ;
123
+ padding : 0 20 px ;
125
124
overflow-x : hidden;
126
125
overflow-y : scroll;
127
126
scrollbar-width : none; /* Firefox */
128
127
-ms-overflow-style : none; /* IE 10+ */
128
+
129
+ /* this hack is needed to add padding on top of the first message */
130
+ /* so it doesn't stick to the top edge */
131
+ :global (& > div:last-child) {
132
+ padding-top : 20 px ;
133
+ }
134
+ :global (& > div:first-child) {
135
+ padding-bottom : 8 px ;
136
+ }
129
137
}
130
138
131
139
.chat-scroll-to-bottom {
Original file line number Diff line number Diff line change 38
38
flex-direction : column;
39
39
max-width : calc (var (--message-max-width ) - 6 % );
40
40
padding : 10 px 14 px ;
41
+ overflow : hidden;
41
42
gap : 16 px ;
42
43
border-radius : var (--radius-ml );
43
44
border-bottom-left-radius : 0 ;
You can’t perform that action at this time.
0 commit comments