Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2276527

Browse files
authored
Merge pull request #916 from iversonLv/dev
PR for Issue_905 -iversonLv- X to close Badges pop up is too far to the right
2 parents 7e34139 + cd61da6 commit 2276527

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

app/profile/badges/badges.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
header.head
2+
.ngdialog-close
23
.breadcrumbs
34
.handle
45
img.profile-circle(fallback-src=require("../../../assets/images/avatarPlaceholder.png"), ng-src="{{vm.profile.photoURL}}")

assets/css/directives/design-lightbox.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,18 @@
6767
justify-content: center;
6868
z-index: 10000;
6969
.ngdialog-content {
70-
.ngdialog-close {
70+
.ngdialog-close {
71+
display: none;
7172
position: absolute;
7273
top: 5px;
7374
right: 15px;
7475
font-size: 30px;
7576
}
77+
.head {
78+
.ngdialog-close {
79+
display: block;
80+
}
81+
}
7682
opacity: .95;
7783
height: 742px;
7884
width: 768px;

assets/css/profile/badges.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
@include sofia-pro-extra-light;
1818
font-size: 28px;
1919
line-height: 34px;
20+
position: relative;
2021
span {
2122
display: inline;
2223
&.title {

assets/css/profile/nav.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
border-radius: 5px;
3333
cursor: pointer;
3434
position: absolute;
35-
right: 0;
36-
top: 0;
35+
right: -30px;
36+
top: -20px;
3737
}
3838

3939
.ngdialog.ngdialog-nav-theme .ngdialog-close:before {

0 commit comments

Comments
 (0)