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 = {
6464} ;
6565
6666const 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" >
6868 { children }
6969 </ section >
7070) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class DestinationImpl implements Destination {
2424 this . isBefore = insertionMode === "before" ;
2525 this . isLineDelimiter = target . insertionDelimiter . includes ( "\n" ) ;
2626 this . indentationString =
27- indentationString ?? this . isLineDelimiter
27+ ( indentationString ?? this . isLineDelimiter )
2828 ? getIndentationString ( target . editor , target . contentRange )
2929 : "" ;
3030 this . insertionPrefix =
@@ -125,8 +125,8 @@ export class DestinationImpl implements Destination {
125125 if ( this . isLineDelimiter ) {
126126 const line = this . editor . document . lineAt ( insertionPosition ) ;
127127 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 ) ;
130130
131131 // Use the full line, including indentation and trailing whitespaces
132132 if ( insertionPosition . isEqual ( trimmedPosition ) ) {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function LandingPage() {
2121 < title > { TITLE } </ title >
2222 < IndexSocial />
2323 </ 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" >
2525 { /*
2626 Note that the font scale gets applied to this element so that all nested elements can use
2727 `em` units and will automatically be scaled.
@@ -32,7 +32,7 @@ export default function LandingPage() {
3232 className = { `flex h-full flex-col text-[10px] sm:m-auto ${ smallScaling } ${ stretchedScaling } ` }
3333 >
3434 < div className = "flex flex-1 flex-col" >
35- < header className = "flex flex-row items-center " >
35+ < header className = "flex flex-row items-center" >
3636 < div className = "mr-auto align-middle text-2xl uppercase" >
3737 Cursorless
3838 </ div >
You can’t perform that action at this time.
0 commit comments