Skip to content

Commit

Permalink
Move unicode-bidi:isolate from inline style to bidi-isolate class
Browse files Browse the repository at this point in the history
  • Loading branch information
modos189 committed Feb 18, 2025
1 parent f468e6d commit 014ddaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/code/comm.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function _initChannelData(id) {
* @memberof IITC.comm
*/
let portalTemplate =
'<a onclick="window.selectPortalByLatLng({{ lat }}, {{ lng }});return false" title="{{ title }}" href="{{ url }}" class="help" style="unicode-bidi: isolate;">{{ portal_name }}</a>';
'<a onclick="window.selectPortalByLatLng({{ lat }}, {{ lng }});return false" title="{{ title }}" href="{{ url }}" class="bidi-isolate help">{{ portal_name }}</a>';
/**
* Template for time cell.
* @type {String}
Expand Down
3 changes: 3 additions & 0 deletions core/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ summary {
padding:3px 4px 1px 4px;
}

.bidi-isolate {
unicode-bidi: isolate;
}


/* sidebar ************************************************************/
Expand Down

0 comments on commit 014ddaa

Please sign in to comment.