Skip to content

Commit 260eaf0

Browse files
committed
fix(Modal): fix max-w
1 parent 50d8a6d commit 260eaf0

File tree

5 files changed

+42
-36
lines changed

5 files changed

+42
-36
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.2.7 (2025-02-17)
4+
5+
### Bug Fixes
6+
7+
* **Modal:** fix max-w
8+
39
## 0.2.6 (2025-02-17)
410

511
### Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@bitrix24/b24ui-nuxt",
33
"description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
4-
"version": "0.2.6",
4+
"version": "0.2.7",
55
"packageManager": "[email protected]",
66
"repository": {
77
"type": "git",

src/theme/modal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
false: {
4343
content: [
4444
'top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2',
45-
'w-[calc(100vw-2rem)] max-w-lg max-h-[calc(100vh-2rem)] sm:max-h-[calc(100vh-4rem)]',
45+
'w-[calc(100vw-2rem)] max-w-[32rem] max-h-[calc(100vh-2rem)] sm:max-h-[calc(100vh-4rem)]',
4646
'rounded-md shadow-lg',
4747
'ring ring-base-300 dark:ring-base-800'
4848
].join(' ')

0 commit comments

Comments
 (0)