#view-issue-page {
    div.widget-main {
        div[id*="attachment_preview_"] {
            a.noprint.red.zoom-130.pull-right {
                /* move delete icon beside the collapse icon */
                transform: translate(-20px);
            }
            a[id*="open_link"], a[id*="closed_link"] {
                /* show collapse icon on the right */
                float: right;
                transform: translate(16px);
            }
        }
    }
}

form#update_bug_form {
    div.widget-main {
        div[id*="attachment_preview_"] {
            a.noprint.red.zoom-130.pull-right {
                    /* hide delete-icon in bug edit */
                display: none !important;
            }
            a[id*="open_link"], a[id*="closed_link"] {
                    /* show collapse icon on the right */
                float: right;
            }
        }
    }
}

