Skip to:
Content

BuddyPress.org

Changeset 11265


Ignore:
Timestamp:
12/02/2016 11:02:28 AM (8 years ago)
Author:
hnla
Message:

Improve avatar uploader button click area for MS Edge Browsers

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 until such time as the uploader group of elements can be re-factored to allow greater positioning control.

See #7360
Props angeljs, mercime, hnla, DJPaul, slaFFik

Location:
trunk/src/bp-core/css
Files:
2 edited

Legend:

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

    r11131 r11265  
    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
  • trunk/src/bp-core/css/avatar.css

    r11131 r11265  
    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.