SPR-840: debug IE10 (vendor extensions for flex)

This commit is contained in:
Jana Deutschländer 2017-03-02 17:11:45 +01:00
commit d19c9b956a
4 changed files with 9 additions and 8 deletions

View file

@ -16,7 +16,6 @@
a.nav { a.nav {
font-size: @font-size-head6; font-size: @font-size-head6;
margin: 0 0 @font-size-head6; margin: 0 0 @font-size-head6;
cursor: pointer; cursor: pointer;
font-weight: normal; font-weight: normal;
margin-left: (@menu-margin * -1); // moves the toggles back to the left margin-left: (@menu-margin * -1); // moves the toggles back to the left
@ -27,7 +26,9 @@
height: @icon-size + @margin-small; height: @icon-size + @margin-small;
display: flex; display: flex;
display: -ms-flexbox;
flex-direction: row; flex-direction: row;
-ms-flex-direction: row;
align-items: center; align-items: center;
span { span {

View file

@ -2,14 +2,14 @@
* Sets up the breadcrumb behaviour (adds do / ACT status information) * Sets up the breadcrumb behaviour (adds do / ACT status information)
*/ */
jQuery(function () { jQuery(function () {
const $breadcrumb = jQuery('.breadcrumbs'); var $breadcrumb = jQuery('.breadcrumbs');
if (!$breadcrumb.length) return; if (!$breadcrumb.length) return;
/** /**
* add ACT status to breadcrumb (if not show) * add ACT status to breadcrumb (if not show)
* *
*/ */
const mode = $breadcrumb.attr('data-do'); var mode = $breadcrumb.attr('data-do');
if(mode && mode.indexOf('show') !== 0){ if(mode && mode.indexOf('show') !== 0){
var markup = '<bdi lang="en"><span class="curid"> : <strong>' + mode + '</strong></span></bdi>'; var markup = '<bdi lang="en"><span class="curid"> : <strong>' + mode + '</strong></span></bdi>';
$breadcrumb.find('p').append(markup); $breadcrumb.find('p').append(markup);

View file

@ -1,5 +1,5 @@
jQuery(function () { jQuery(function () {
const $metaBox = jQuery('#spr__meta-box'); var $metaBox = jQuery('#spr__meta-box');
if (!$metaBox.length) return; if (!$metaBox.length) return;
/** /**
@ -10,8 +10,8 @@ jQuery(function () {
*/ */
$metaBox.on('click', '.meta-tabs a', function (e) { $metaBox.on('click', '.meta-tabs a', function (e) {
e.preventDefault(); e.preventDefault();
const $tab = jQuery(this); var $tab = jQuery(this),
const isopen = $tab.attr('aria-expanded') === 'true'; isopen = $tab.attr('aria-expanded') === 'true';
// disable all existing tabs // disable all existing tabs
$metaBox.find('.meta-tabs li') $metaBox.find('.meta-tabs li')

View file

@ -117,7 +117,7 @@ jQuery(function () {
initContentMinHeight = function () { initContentMinHeight = function () {
var $sidebar = jQuery('.page-wrapper').find('> .tools').find('.col-xs-12'); var $sidebar = jQuery('.page-wrapper').find('> .tools').find('.col-xs-12');
if ($sidebar.length == 1) { if ($sidebar.length == 1) {
const num = parseFloat($sidebar.height()); var num = parseFloat($sidebar.height());
if (!isNaN(num)) { if (!isNaN(num)) {
jQuery('#dokuwiki__content').css('minHeight', num + 100); jQuery('#dokuwiki__content').css('minHeight', num + 100);
} }
@ -128,7 +128,7 @@ jQuery(function () {
* Initialize the sidebar handle behaviour * Initialize the sidebar handle behaviour
*/ */
initSidebarToggling = function () { initSidebarToggling = function () {
const $toggler = jQuery('.togglelink.page_main-content').find('a'); var $toggler = jQuery('.togglelink.page_main-content').find('a');
$toggler.click(function (e) { $toggler.click(function (e) {
e.preventDefault(); e.preventDefault();
if (jQuery('body').hasClass('wide-content')) { if (jQuery('body').hasClass('wide-content')) {