Skip to content

Commit 75c3393

Browse files
committed
fix z-index with adminlte template
1 parent 0fdb9c1 commit 75c3393

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-notification-ui",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Vue Notification UI",
55
"main": "src/notification.js",
66
"scripts": {

src/assets/css/notification.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
--blue: #1876f2;
55
--white: #fff;
66
--gap: 20px;
7+
--gap-right: 40px;
78
--notification-icon-width: 80px;
89
--notification-image-width: 67px;
910
--gray-light: #f1f1f1;
@@ -15,6 +16,7 @@
1516
padding: 10px;
1617
width: 380px;
1718
height: auto;
19+
z-index: 1030 !important;
1820
}
1921

2022
.notification-item {
@@ -40,12 +42,12 @@
4042
}
4143

4244
.notification-top-right {
43-
right: var(--gap);
45+
right: var(--gap-right);
4446
top: var(--gap);
4547
}
4648

4749
.notification-bottom-right {
48-
right: var(--gap);
50+
right: var(--gap-right);
4951
bottom: var(--gap);
5052
}
5153

0 commit comments

Comments
 (0)