Skip to content

Commit

Permalink
Fixed wrapping issue in forefox and Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanlin2018 committed Sep 25, 2024
1 parent 3343b9c commit 88e61f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion angular/src/app/landing/keyword/keyword.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<span class="editable_field ind" style="max-width: 90%;">
<span style="white-space: nowrap;"><strong>Keywords: </strong></span>
<span class="keywords" [style.background-color]="bubbleColor(keyword)" [style.border]="borderStyle(keyword)" (mouseenter)="mouseEnter(keyword)" (mouseover)="mouseEnter(keyword)" (mouseout)="mouseOut(keyword)" [style.cursor]="setCursor(keyword)" style="padding: 0px 5px;margin: 3px;border-radius: 20px;text-align: center;line-height: 25px;white-space: nowrap;margin-right: 5px;" (click)="keywordClick(keyword)" *ngFor="let keyword of keywordDisplay; let i =index">
<span class="keywords" [style.background-color]="bubbleColor(keyword)" [style.border]="borderStyle(keyword)" (mouseenter)="mouseEnter(keyword)" (mouseover)="mouseEnter(keyword)" (mouseout)="mouseOut(keyword)" [style.cursor]="setCursor(keyword)" style="padding: 0px 5px;margin: 3px;border-radius: 20px;text-align: center;line-height: 25px;margin-right: 5px;" (click)="keywordClick(keyword)" *ngFor="let keyword of keywordDisplay; let i =index">
<span style="display: inline-block">{{ keyword }}</span>
</span>
</span>
Expand Down
2 changes: 1 addition & 1 deletion angular/src/app/landing/topic/topic.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<!-- <p-chips [(ngModel)]="topics[col]" [inputStyle]="{ display: 'none' }"></p-chips> -->

<span style="max-width: 90%; ">
<span class="topics" [style.background-color]="bubbleColor(topic)" [style.border]="borderStyle(topic)" (mouseenter)="mouseEnter(topic)" (mouseover)="mouseEnter(topic)" (mouseout)="mouseOut(topic)" [style.cursor]="setCursor(topic)" style="padding: 0px 5px;margin: 3px;border-radius: 20px;text-align: center;margin-right: 5px;line-height: 25px;white-space: nowrap;" (click)="topicClick(topic, col)" *ngFor="let topic of topicDisplay[col]; let i =index">
<span class="topics" *ngFor="let topic of topicDisplay[col]; let i =index" [style.background-color]="bubbleColor(topic)" [style.border]="borderStyle(topic)" (mouseenter)="mouseEnter(topic)" (mouseover)="mouseEnter(topic)" (mouseout)="mouseOut(topic)" [style.cursor]="setCursor(topic)" style="padding: 0px 5px;margin: 3px;border-radius: 20px;text-align: center;margin-right: 5px;line-height: 25px;" (click)="topicClick(topic, col)">
<span style="display: inline-block">{{ topic.tag }}</span>
</span>
</span>
Expand Down

0 comments on commit 88e61f7

Please sign in to comment.