diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index e973db160..e32bacb0d 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -1180,14 +1180,15 @@ StScrollBar { .list-search-result-content { spacing: 12px; - padding: 12px; } + padding: 2px; } .list-search-result-title { font-size: 1.5em; color: #e2e2df; } .list-search-result-description { - color: #cacac4; } + color: #cacac4; + margin-left: 30px; } .search-provider-icon { padding: 15px; } diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index c9396a269..7de3e75e0 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1180,14 +1180,15 @@ StScrollBar { .list-search-result-content { spacing: 12px; - padding: 12px; } + padding: 2px; } .list-search-result-title { font-size: 1.5em; color: #e2e2df; } .list-search-result-description { - color: #cacac4; } + color: #cacac4; + margin-left: 30px; } .search-provider-icon { padding: 15px; } diff --git a/js/ui/search.js b/js/ui/search.js index 4d29e59ef..e956bf48b 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -90,7 +90,7 @@ const ListSearchResult = new Lang.Class({ content.add(icon); } - let details = new St.BoxLayout({ vertical: true }); + let details = new St.BoxLayout({ vertical: false }); content.add(details, { x_fill: true, y_fill: false, x_align: St.Align.START, @@ -101,16 +101,18 @@ const ListSearchResult = new Lang.Class({ details.add(title, { x_fill: false, y_fill: false, x_align: St.Align.START, - y_align: St.Align.START }); + y_align: St.Align.MIDDLE }); this.actor.label_actor = title; if (this.metaInfo['description']) { - let description = new St.Label({ style_class: 'list-search-result-description' }); - description.clutter_text.set_markup(this.metaInfo['description']); + let description = new St.Label({ + style_class: 'list-search-result-description', + text: this.metaInfo['description'] }); + details.add(description, { x_fill: false, y_fill: false, x_align: St.Align.START, - y_align: St.Align.END }); + y_align: St.Align.MIDDLE }); } } });