<div class="row">...</div>
.row {
display: flex;
flex-wrap: wrap;
...
}
SELECT *
FROM (
SELECT *, LAG(time_finish) OVER (ORDER BY time_start) previous_finish_time
FROM test_resource_times
) tr_times
WHERE previous_finish_time IS NULL
OR previous_finish_time <> time_start
SELECT tr1.*
FROM test_resource_times tr1
LEFT JOIN test_resource_times tr2
ON tr1.time_start = tr2.time_finish
WHERE tr2.time_finish IS NULL
$('.moved-item').css({'top' : offset.top-window.scrollY + 'px', 'left' : offset.left + 'px'}).fadeIn("slow").animate({'top': icon.offset().top-window.scrollY, 'left': icon.offset().left + 20}, 1200,
function(){ $(this).remove(); }
);
function SliderRange() {
var moveHandler = function () {
var inputMinVal = $(this).siblings('.from').find('.b-filter-price__input');
var inputMaxVal = $(this).siblings('.to').find('.b-filter-price__input');
if ($(inputMinVal)[0].value === '') {
$(inputMinVal)[0].value = $(this).find('.slider-range__input-min').val();
}
if ($(inputMaxVal)[0].value === '') {
$(inputMaxVal)[0].value = $(this).find('.slider-range__input-max').val();
}
};
this.init_function = function() {
$('.g_slider_range').each(moveHandler);
}
this.init_function();
$('.g_slider_range').on('mousedown', function () {
$(this).on('mousemove', moveHandler);
})
}