Skip to content

Commit 6f90c39

Browse files
gregaubertsonartech
authored andcommitted
SC-34401 Migrate remaining TenColumnsTemplate usage
GitOrigin-RevId: c2b2f34eb6c9f0d32a033ffe73cf67198d3fdb7a
1 parent 62f28d4 commit 6f90c39

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

apps/sq-server/src/main/js/apps/create/project/components/RepositoryList.tsx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function RepositoryList(props: Readonly<RepositoryListProps>) {
8282

8383
return (
8484
<div className="sw-flex sw-gap-12">
85-
<LargeColumn>
85+
<div className="sw-flex-[6]">
8686
<div className="sw-mb-2 sw-py-2 sw-flex sw-items-center sw-justify-between sw-w-full">
8787
<div>
8888
<Checkbox
@@ -139,8 +139,8 @@ export default function RepositoryList(props: Readonly<RepositoryListProps>) {
139139
loading={loadingRepositories}
140140
total={repositoryPaging.total}
141141
/>
142-
</LargeColumn>
143-
<SideColumn>
142+
</div>
143+
<div className="sw-flex-[4]">
144144
{selected.size > 0 && (
145145
<SetupBox className="sw-rounded-2 sw-p-8 sw-mb-0">
146146
<SetupBoxTitle className="sw-mb-2 sw-heading-lg">
@@ -168,19 +168,11 @@ export default function RepositoryList(props: Readonly<RepositoryListProps>) {
168168
</div>
169169
</SetupBox>
170170
)}
171-
</SideColumn>
171+
</div>
172172
</div>
173173
);
174174
}
175175

176-
const LargeColumn = styled.div`
177-
flex: 6;
178-
`;
179-
180-
const SideColumn = styled.div`
181-
flex: 4;
182-
`;
183-
184176
const SetupBox = styled.form`
185177
max-height: 280px;
186178
background: ${themeColor('highlightedSection')};

0 commit comments

Comments
 (0)