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

Commit 8d2fbf0

Browse files
author
vikasrohit
committed
SUP-2143, Dashboard--> Texts are overlapping on my challenges on mobile device.
-- Fixed roles overflow
1 parent 25938bf commit 8d2fbf0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

app/directives/challenge-tile/challenge-tile.directive.jade

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@
6363
design-challenge-user-place(challenge="challenge", view="view")
6464

6565
// Only show if not data science track
66-
p.roles(ng-hide="challenge.track === 'DATA_SCIENCE'") #[span Role:  ] #[span {{challenge.userDetails.roles | listRoles}}]
66+
p.roles
67+
span(ng-hide="challenge.track === 'DATA_SCIENCE'")
68+
#[span Role:  ] #[span {{challenge.userDetails.roles | listRoles}}]
6769

6870
.challenge.list-view(ng-show="view=='list'", ng-class="challenge.track")
6971
.active-challenge(ng-show="challenge.status === 'ACTIVE'")

assets/css/directives/challenge-tile.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,12 @@ challenge-tile .challenge.tile-view {
7171
line-height: 18px;
7272
background-color: $gray-lighter;
7373

74-
span:first-child {
75-
color: $accent-gray;
76-
white-space: nowrap;
77-
}
78-
79-
span:not(:first-child) {
74+
span {
8075
@include ellipsis;
76+
span:first-child {
77+
color: $accent-gray;
78+
white-space: nowrap;
79+
}
8180
}
8281

8382
}

0 commit comments

Comments
 (0)