diff options
Diffstat (limited to 'WebCore/platform')
-rw-r--r-- | WebCore/platform/android/RenderThemeAndroid.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/platform/android/RenderThemeAndroid.cpp b/WebCore/platform/android/RenderThemeAndroid.cpp index 4c5cff5..7085bf4 100644 --- a/WebCore/platform/android/RenderThemeAndroid.cpp +++ b/WebCore/platform/android/RenderThemeAndroid.cpp @@ -334,7 +334,10 @@ void RenderThemeAndroid::adjustListboxStyle(CSSStyleSelector*, RenderStyle* styl static void adjustMenuListStyleCommon(RenderStyle* style, Element* e) { - // Added to make room for our arrow. + // Added to make room for our arrow and make the touch target less cramped. + style->setPaddingLeft(Length(RenderSkinCombo::padding(), Fixed)); + style->setPaddingTop(Length(RenderSkinCombo::padding(), Fixed)); + style->setPaddingBottom(Length(RenderSkinCombo::padding(), Fixed)); style->setPaddingRight(Length(RenderSkinCombo::extraWidth(), Fixed)); } |