Skip to content

Commit 5480d29

Browse files
authored
Move Versions dropdown to the end of the row (#230)
* Move the Versions dropdown to the end of the row * update dependencies
1 parent ce62d99 commit 5480d29

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"watch:url": "NODE_ENV=development nodemon bin/cli.js https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet"
5454
},
5555
"dependencies": {
56-
"hightable": "0.15.0",
56+
"hightable": "0.15.1",
5757
"hyparquet": "1.12.1",
5858
"hyparquet-compressors": "1.1.1",
5959
"icebird": "0.2.0",
@@ -81,12 +81,12 @@
8181
"eslint-plugin-storybook": "0.12.0",
8282
"globals": "16.0.0",
8383
"jsdom": "26.1.0",
84-
"nodemon": "3.1.9",
84+
"nodemon": "3.1.10",
8585
"npm-run-all": "4.1.5",
8686
"storybook": "8.6.12",
8787
"typescript": "5.8.3",
8888
"typescript-eslint": "8.31.0",
89-
"vite": "6.3.2",
89+
"vite": "6.3.3",
9090
"vitest": "3.1.2"
9191
},
9292
"eslintConfig": {

src/components/Breadcrumb/Breadcrumb.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/* file path */
2424
.path {
2525
margin: 0 2px;
26-
margin-right: 4px;
26+
margin-right: auto;
2727
min-width: 0;
2828
overflow: auto;
2929
/* TODO(SL): forbid wrap + use an ellipsis instead? */
@@ -49,7 +49,7 @@
4949
}
5050

5151
.versions {
52-
margin-left: auto;
52+
padding-left: 4px;
5353

5454
[aria-current] {
5555
font-weight: bold;

src/components/Breadcrumb/Breadcrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function Breadcrumb({ source, children }: BreadcrumbProps) {
5353
<a href={routes?.getSourceRouteUrl?.({ sourceId: part.sourceId }) ?? ''} key={depth}>{part.text}</a>
5454
)}
5555
</div>
56-
{source.fetchVersions && <Versions source={source} />}
5756
{children}
57+
{source.fetchVersions && <Versions source={source} />}
5858
</nav>
5959
}

0 commit comments

Comments
 (0)