Skip to content

Commit

Permalink
4.1.1 (#48)
Browse files Browse the repository at this point in the history
- Lengthy text is truncated to prevent awkward wrapping
- Improved UI for smaller screen sizes
  • Loading branch information
aaronbushnell authored Apr 26, 2024
1 parent 722a5ef commit 4cd8a5b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for Palette

## 4.1.1 - 2024-04-26

### Fixed
- Lengthy text is truncated to prevent awkward wrapping
- Improved UI for smaller screen sizes

## 4.1.0 - 2024-04-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "trendyminds/craft-palette",
"description": "A command palette to easily jump to specific areas within Craft",
"type": "craft-plugin",
"version": "4.1.0",
"version": "4.1.1",
"keywords": ["palette", "craft", "craft cms", "cmdk", "spotlight", "craft plugin"],
"license": "MIT",
"authors": [
Expand Down
4 changes: 2 additions & 2 deletions scripts/Result.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export default function Result({ url, title, subtitle, icon, type, focused }) {
<div className="p-flex p-items-center p-justify-between p-gap-2 p-flex-1">
<div className="p-flex p-items-center p-gap-3 p-flex-1">
<Icon name={icon} className="p-size-5 p-opacity-75" />
<div className="p-flex-1 p-flex p-justify-between p-items-center p-gap-1">
<p className="p-block p-leading-none p-m-0 p-font-sans p-font-medium">
<div className="p-flex-1 p-flex p-flex-col sm:p-flex-row sm:p-justify-between sm:p-items-center p-gap-1">
<p className="p-flex-1 p-leading-none p-m-0 p-font-sans p-font-medium p-line-clamp-1">
{title}
</p>
{subtitle && (
Expand Down
2 changes: 1 addition & 1 deletion src/assetbundles/resources/Init.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/assetbundles/resources/palette.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@ module.exports = {
},
prefix: 'p-',
important: true,
screens: {
xs: '480px',
sm: '640px',
md: '768px',
},
}

0 comments on commit 4cd8a5b

Please sign in to comment.