Skip to content

Commit 4e58f91

Browse files
committed
Dialog title fix
1 parent 0bd47f0 commit 4e58f91

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue3-hive-ui-kit",
33
"private": false,
4-
"version": "0.7.28",
4+
"version": "0.7.29",
55
"type": "module",
66
"description": "UI kit for Vue 3",
77
"files": [

src/components/hive-dialog/hive-dialog.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,21 @@ $dialog-width-min: 100px;
126126
flex-direction: column;
127127
color: var(--text, $text);
128128
}
129+
130+
&__title {
131+
display: flex;
132+
align-items: center;
133+
justify-content: space-between;
134+
margin-bottom: 5px;
135+
136+
&-text {
137+
font-size: 20px;
138+
}
139+
140+
&-close {
141+
cursor: pointer;
142+
}
143+
}
129144
}
130145
131146
.backdrop-enter-active {

src/examples/components/all-widgets.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -780,12 +780,7 @@ const optionsObject1 = {
780780
<widget-wrapper title="Modal">
781781
<hive-button @click="isOpenModal = true" />
782782

783-
<hive-dialog v-model="isOpenModal" :hive-theme="dark ? 'dark' : 'light'" withCloseButton title="Hello world">
784-
<template #header>
785-
<!-- <hive-button title="close" /> -->
786-
ривэд эдвэд
787-
FFFFFFFFFFFFFddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
788-
</template>
783+
<hive-dialog v-model="isOpenModal" :hive-theme="dark ? 'dark' : 'light'" with-close-button title="Hello world">
789784

790785
Hello
791786

0 commit comments

Comments
 (0)