File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
cursorless-engine/src/processTargets/targets Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ type CheatsheetSectionProps = {
64
64
} ;
65
65
66
66
const CheatsheetSection : React . FC < CheatsheetSectionProps > = ( { children } ) => (
67
- < section className = " mb-5 break-inside-avoid last:mb-0 md:mb-3 xl:mb-4" >
67
+ < section className = "mb-5 break-inside-avoid last:mb-0 md:mb-3 xl:mb-4" >
68
68
{ children }
69
69
</ section >
70
70
) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class DestinationImpl implements Destination {
24
24
this . isBefore = insertionMode === "before" ;
25
25
this . isLineDelimiter = target . insertionDelimiter . includes ( "\n" ) ;
26
26
this . indentationString =
27
- indentationString ?? this . isLineDelimiter
27
+ ( indentationString ?? this . isLineDelimiter )
28
28
? getIndentationString ( target . editor , target . contentRange )
29
29
: "" ;
30
30
this . insertionPrefix =
@@ -125,8 +125,8 @@ export class DestinationImpl implements Destination {
125
125
if ( this . isLineDelimiter ) {
126
126
const line = this . editor . document . lineAt ( insertionPosition ) ;
127
127
const trimmedPosition = this . isBefore
128
- ? line . rangeTrimmed ?. start ?? line . range . start
129
- : line . rangeTrimmed ?. end ?? line . range . end ;
128
+ ? ( line . rangeTrimmed ?. start ?? line . range . start )
129
+ : ( line . rangeTrimmed ?. end ?? line . range . end ) ;
130
130
131
131
// Use the full line, including indentation and trailing whitespaces
132
132
if ( insertionPosition . isEqual ( trimmedPosition ) ) {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function LandingPage() {
21
21
< title > { TITLE } </ title >
22
22
< IndexSocial />
23
23
</ Head >
24
- < main className = "text-salmon-900 dark:text-salmon-100 font-monoWide fixed bottom-0 left-0 right-0 top-0 items-center justify-center overflow-auto p-2 font-bold tracking-[0.18em] sm:flex sm:p-0 " >
24
+ < main className = "text-salmon-900 dark:text-salmon-100 font-monoWide fixed bottom-0 left-0 right-0 top-0 items-center justify-center overflow-auto p-2 font-bold tracking-[0.18em] sm:flex sm:p-0" >
25
25
{ /*
26
26
Note that the font scale gets applied to this element so that all nested elements can use
27
27
`em` units and will automatically be scaled.
@@ -32,7 +32,7 @@ export default function LandingPage() {
32
32
className = { `flex h-full flex-col text-[10px] sm:m-auto ${ smallScaling } ${ stretchedScaling } ` }
33
33
>
34
34
< div className = "flex flex-1 flex-col" >
35
- < header className = "flex flex-row items-center " >
35
+ < header className = "flex flex-row items-center" >
36
36
< div className = "mr-auto align-middle text-2xl uppercase" >
37
37
Cursorless
38
38
</ div >
You can’t perform that action at this time.
0 commit comments