pull/997/head
Louis Vézina 4 years ago
parent e2fe834e1e
commit 215bb7ac34

@ -457,9 +457,7 @@
$('#buttons_bars').width($('body').width() - 240); $('#buttons_bars').width($('body').width() - 240);
} }
$('.badge').each(function() {
$(this).css('max-width', $(this).closest( "div" ).width());
})
if ($(window).width() <= 1170) { if ($(window).width() <= 1170) {
$('form .row :first-child').each( function() { $('form .row :first-child').each( function() {
@ -468,6 +466,9 @@
$('.container-fluid .row :first-child').each( function() { $('.container-fluid .row :first-child').each( function() {
$(this).removeClass('text-right'); $(this).removeClass('text-right');
}) })
$('.badge').each(function() {
$(this).css('max-width', $(this).closest( "div" ).width());
})
} }
if ($('#buttons_bar_left').children().length > 0 || $('#buttons_bar_right').children().length > 0) { if ($('#buttons_bar_left').children().length > 0 || $('#buttons_bar_right').children().length > 0) {

Loading…
Cancel
Save