Skip to:
Content

BuddyPress.org

Changeset 11266


Ignore:
Timestamp:
12/02/2016 11:08:20 AM (7 years ago)
Author:
hnla
Message:

Improve avatar uploader button click area for MS Edge Browsers (Branch 2.7)

In ME Edge the Moxie shim click event is out of alignment with the visual button element causing it to appear that one can't click to open file browser.

Commit adjusts the styles to provide a moxie-shim set of rulesets in avatar.css to force the position to better overlap the button element.

This is a temp/perm fix backported to 2.7 until such time as the uploader group of elements can be re-factored to allow greater positioning control.

Fixes #7360 ( Branch 2.7 )

Location:
branches/2.7/src/bp-core/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/src/bp-core/css/avatar-rtl.css

    r11131 r11266  
    146146}
    147147
     148.moxie-shim.moxie-shim-html5 {
     149    top: 108px !important;
     150    right: 40.1% !important;
     151    width: 12em;
     152}
     153
     154.moxie-shim.moxie-shim-html5 input {
     155    cursor: pointer;
     156}
     157
    148158.drag-drop #drag-drop-area {
    149159    box-sizing: border-box;
     
    163173.drag-drop-inside p.drag-drop-buttons {
    164174    display: block;
     175}
     176
     177p.drag-drop-buttons input#bp-browse-button {
     178    width: 12em;
    165179}
    166180
  • branches/2.7/src/bp-core/css/avatar.css

    r11131 r11266  
    146146}
    147147
     148.moxie-shim.moxie-shim-html5 {
     149    top: 108px !important;
     150    left: 40.1% !important;
     151    width: 12em;
     152}
     153
     154.moxie-shim.moxie-shim-html5 input {
     155    cursor: pointer;
     156}
     157
    148158.drag-drop #drag-drop-area {
    149159    box-sizing: border-box;
     
    163173.drag-drop-inside p.drag-drop-buttons {
    164174    display: block;
     175}
     176
     177p.drag-drop-buttons input#bp-browse-button {
     178    width: 12em;
    165179}
    166180
Note: See TracChangeset for help on using the changeset viewer.