Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.0.13] - 2026-03-19

### Changed

- Changed `Columns` to use named container query (`columns-container`) (#222)

## [1.0.12] - 2026-03-18

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mintlify/components",
"version": "1.0.12",
"version": "1.0.13",
"description": "Mintlify open-source UI components",
"type": "module",
"main": "./dist/index.cjs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const FourColumns: Story = {
*/
export const InsideContainer: StoryObj = {
render: () => (
<div className="@container resize overflow-hidden border p-8">
<div className="@container/columns-container resize overflow-hidden border p-8">
<Columns cols={3}>
<Box>1</Box>
<Box>2</Box>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/columns/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Columns = ({
Classes.Columns,
"prose dark:prose-invert grid max-w-none gap-4",
"sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]",
"@[0px]:grid-cols-1 @sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]",
"@[0px]/columns-container:grid-cols-1 @sm/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))]",
className
)}
style={{ "--cols": numCols } as React.CSSProperties}
Expand Down
Loading