From 6c251bbe965de32043ff6b1e3be3c87d782514d5 Mon Sep 17 00:00:00 2001 From: s-mukuti Date: Thu, 23 Mar 2023 16:04:31 +0300 Subject: [PATCH 1/3] Add padding to div --- src/Dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dialog.js b/src/Dialog.js index dac406c..72aaae8 100644 --- a/src/Dialog.js +++ b/src/Dialog.js @@ -96,7 +96,7 @@ class Dialog extends OO.ui.ProcessDialog { mw.msg( 'parentheses-end' ) ); const $qItemDesc = $( '' ) - .attr( 'style', 'font-style: italic; display: block;' ) + .attr( 'style', 'font-style: italic; display: block; padding-right: 5px;' ) .text( stripHTML( item.snippet ) || mw.msg( 'asl-nodescription' ) ); this.itemSelect.addItems( [ new OO.ui.RadioOptionWidget( { -- GitLab From e44dbae048992e1bcd1e71d5b558544c5b6fd24a Mon Sep 17 00:00:00 2001 From: s-mukuti Date: Thu, 23 Mar 2023 16:30:15 +0300 Subject: [PATCH 2/3] Add Padding to span --- src/Dialog.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Dialog.js b/src/Dialog.js index 72aaae8..f749baf 100644 --- a/src/Dialog.js +++ b/src/Dialog.js @@ -153,5 +153,4 @@ class Dialog extends OO.ui.ProcessDialog { } } - module.exports = Dialog; -- GitLab From 37b1d4d3446d417502afa781343cad7926b014c4 Mon Sep 17 00:00:00 2001 From: s-mukuti Date: Mon, 27 Mar 2023 14:21:37 +0300 Subject: [PATCH 3/3] update autosuuggest ,erge request --- dist/AutosuggestSitelink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/AutosuggestSitelink.js b/dist/AutosuggestSitelink.js index c6641cb..6c4773c 100644 --- a/dist/AutosuggestSitelink.js +++ b/dist/AutosuggestSitelink.js @@ -381,7 +381,7 @@ function _getItemsFieldset2(items) { items.forEach(function (item) { var $qItemLink = $('').attr('href', _this3.aslContext.wikidataUrl + '/wiki/' + item.title).attr('_target', '_self').text(item.title); var $qItemLabel = $('').text(mw.msg('parentheses-start') + stripHTML(item.titlesnippet) + mw.msg('parentheses-end')); - var $qItemDesc = $('').attr('style', 'font-style: italic; display: block;').text(stripHTML(item.snippet) || mw.msg('asl-nodescription')); + var $qItemDesc = $('').attr('style', 'font-style: italic; display: block; padding-right: 5px;').text(stripHTML(item.snippet) || mw.msg('asl-nodescription')); _this3.itemSelect.addItems([new OO.ui.RadioOptionWidget({ label: $('').append($qItemLink, ' ', $qItemLabel, $qItemDesc), data: item.title -- GitLab
  NODES