From 2ca3a1a36a9909f4fa955a55adc922d0a5e8341a Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Mon, 13 Jun 2022 11:13:38 +0530 Subject: [PATCH] For language links, use full space in
  • elements If the link takes full space in
  • , the click or control click events can originate from a wider space. Currently the tags are surrounded by padding of
  • . See https://phabricator.wikimedia.org/T308688 --- css/jquery.uls.lcd.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/jquery.uls.lcd.css b/css/jquery.uls.lcd.css index b10334b..4b04e13 100644 --- a/css/jquery.uls.lcd.css +++ b/css/jquery.uls.lcd.css @@ -68,9 +68,8 @@ } .uls-language-block > ul > li { - cursor: pointer; margin-left: 20px; - padding: 8px; + padding: 0; /* * The directionality (ltr/rtl) for each list item is set dynamically * as HTML attributes in JavaScript. Setting directionality also applies @@ -95,6 +94,7 @@ display: inline-block; width: 100%; overflow-x: hidden; + padding: 8px; /* * Some languages have long names for various reasons and we still want * them to appear on one line.