[polari] chatView: Add non-breaking space before expaner arrows
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] chatView: Add non-breaking space before expaner arrows
- Date: Thu, 2 Sep 2021 23:16:18 +0000 (UTC)
commit a14098e478e635093ba1d3469ecd8a5db0c8b378
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 2 22:13:51 2021 +0200
chatView: Add non-breaking space before expaner arrows
The group header looks too cramped without some whitespace.
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/224>
src/chatView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index eab68654..e39b491b 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -1132,7 +1132,7 @@ export default GObject.registerClass({
let tags = [this._lookupTag('gap'), this._lookupTag('status'), headerTag];
let headerText = stats.join(', ');
let baseDir = Pango.find_base_dir(headerText, -1);
- this._insertWithTags(iter, headerText, tags);
+ this._insertWithTags(iter, `${headerText}\u00A0`, tags);
this._insertWithTags(iter,
baseDir === Pango.Direction.LTR ? '\u25B6' : '\u25C0',
tags.concat(headerArrowTag));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]