@@ -627,7 +627,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) {
627627 setPublishRepositoryOverride ( null ) ;
628628 } }
629629 aria-labelledby = "publish-provider-cards-label"
630- className = "grid grid-cols-2 gap-2.5 "
630+ className = "grid grid-cols-2"
631631 >
632632 { sortedPublishProviderOptions . map ( ( option ) => {
633633 const readiness = publishProviderReadiness [ option . value ] ;
@@ -737,7 +737,7 @@ function PublishRepositoryDialog(props: PublishRepositoryDialogProps) {
737737 }
738738 aria-labelledby = "publish-visibility-cards-label"
739739 disabled = { publishRepositoryAction . isPending }
740- className = "grid grid-cols-2 gap-2.5 "
740+ className = "grid grid-cols-2"
741741 >
742742 { [
743743 {
@@ -1915,57 +1915,63 @@ export default function GitActionsControl({
19151915 < p className = "font-medium" > none</ p >
19161916 ) : (
19171917 < div className = "space-y-2" >
1918- < ScrollArea className = "h-44 rounded-lg bg-card ring-1 ring-black/5 dark:bg-white/[0.025] dark:ring-white/5" >
1919- < div className = "space-y-1 p-1" >
1920- { allFiles . map ( ( file ) => {
1921- const isExcluded = excludedFiles . has ( file . path ) ;
1922- return (
1923- < div
1924- key = { file . path }
1925- className = "flex w-full items-center gap-2 rounded-md px-2 py-1 font-mono hover:bg-accent/50"
1926- >
1927- { isEditingFiles && (
1928- < Checkbox
1929- checked = { ! excludedFiles . has ( file . path ) }
1930- onCheckedChange = { ( ) => {
1931- setExcludedFiles ( ( prev ) => {
1932- const next = new Set ( prev ) ;
1933- if ( next . has ( file . path ) ) {
1934- next . delete ( file . path ) ;
1935- } else {
1936- next . add ( file . path ) ;
1937- }
1938- return next ;
1939- } ) ;
1940- } }
1941- />
1942- ) }
1943- < button
1944- type = "button"
1945- className = "flex min-w-0 flex-1 items-center justify-between gap-3 text-left"
1946- onClick = { ( ) => openChangedFileInEditor ( file . path ) }
1918+ < div className = "h-44 rounded-lg bg-card ring-1 ring-black/5 dark:bg-white/[0.025] dark:ring-white/5" >
1919+ < ScrollArea >
1920+ < div className = "space-y-1 p-1" >
1921+ { allFiles . map ( ( file ) => {
1922+ const isExcluded = excludedFiles . has ( file . path ) ;
1923+ return (
1924+ < div
1925+ key = { file . path }
1926+ className = "flex w-full items-center gap-2 rounded-md px-2 py-1 font-mono hover:bg-accent/50"
19471927 >
1948- < StartTruncatedPath
1949- path = { file . path }
1950- className = { `flex-1${ isExcluded ? " text-muted-foreground" : "" } ` }
1951- />
1952- < span className = "shrink-0" >
1953- { isExcluded ? (
1954- < span className = "text-muted-foreground" > Excluded</ span >
1955- ) : (
1956- < >
1957- < span className = "text-diff-addition" > +{ file . insertions } </ span >
1958- < span className = "text-muted-foreground" > / </ span >
1959- < span className = "text-diff-deletion" > -{ file . deletions } </ span >
1960- </ >
1961- ) }
1962- </ span >
1963- </ button >
1964- </ div >
1965- ) ;
1966- } ) }
1967- </ div >
1968- </ ScrollArea >
1928+ { isEditingFiles && (
1929+ < Checkbox
1930+ checked = { ! excludedFiles . has ( file . path ) }
1931+ onCheckedChange = { ( ) => {
1932+ setExcludedFiles ( ( prev ) => {
1933+ const next = new Set ( prev ) ;
1934+ if ( next . has ( file . path ) ) {
1935+ next . delete ( file . path ) ;
1936+ } else {
1937+ next . add ( file . path ) ;
1938+ }
1939+ return next ;
1940+ } ) ;
1941+ } }
1942+ />
1943+ ) }
1944+ < button
1945+ type = "button"
1946+ className = "flex min-w-0 flex-1 items-center justify-between gap-3 text-left"
1947+ onClick = { ( ) => openChangedFileInEditor ( file . path ) }
1948+ >
1949+ < StartTruncatedPath
1950+ path = { file . path }
1951+ className = { `flex-1${ isExcluded ? " text-muted-foreground" : "" } ` }
1952+ />
1953+ < span className = "shrink-0" >
1954+ { isExcluded ? (
1955+ < span className = "text-muted-foreground" > Excluded</ span >
1956+ ) : (
1957+ < >
1958+ < span className = "text-diff-addition" >
1959+ +{ file . insertions }
1960+ </ span >
1961+ < span className = "text-muted-foreground" > / </ span >
1962+ < span className = "text-diff-deletion" >
1963+ -{ file . deletions }
1964+ </ span >
1965+ </ >
1966+ ) }
1967+ </ span >
1968+ </ button >
1969+ </ div >
1970+ ) ;
1971+ } ) }
1972+ </ div >
1973+ </ ScrollArea >
1974+ </ div >
19691975 < div className = "flex justify-end font-mono" >
19701976 < span className = "text-diff-addition" >
19711977 +{ selectedFiles . reduce ( ( sum , f ) => sum + f . insertions , 0 ) }
@@ -2040,7 +2046,7 @@ export default function GitActionsControl({
20402046 </ DialogTitle >
20412047 < DialogDescription > { pendingDefaultBranchActionCopy ?. description } </ DialogDescription >
20422048 </ DialogHeader >
2043- < DialogFooter className = "dark:border-transparent dark:bg-transparent sm:flex-wrap sm:items-center">
2049+ < DialogFooter variant = "bare" className = " sm:flex-wrap sm:items-center">
20442050 < Button
20452051 className = "w-full sm:mr-auto sm:w-auto"
20462052 variant = "outline"
0 commit comments