Skip to content

Commit

Permalink
(feat): ability to select text
Browse files Browse the repository at this point in the history
  • Loading branch information
markharding committed Jan 24, 2017
1 parent 2ed469e commit 36ce05d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ img{

}

*[allow-text-select]{
user-select: text;
}

.m-ionic-owner-block{
display:flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/app/modules/comments/list.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>
<div class="m-ionic-body">
<b>{{comment.ownerObj.name}} (@ {{comment.ownerObj.name}})</b>
<p>{{comment.description}}</p>
<p allow-text-select>{{comment.description}}</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/app/modules/newsfeed/activity/activity.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</a>
</div>
<div class="m-ionic-body">
<a [navPush]="components.channel" [navParams]="{ guid: entity.reminderOwnerObj.guid}">
<a [navPush]="components.channel" [navParams]="{ channel: entity.reminderOwnerObj }">
<strong>{{entity.reminderOwnerObj.name}}</strong>
</a>
</div>
Expand Down

0 comments on commit 36ce05d

Please sign in to comment.