diff --git a/resources/views/tasks/time_tracker.blade.php b/resources/views/tasks/time_tracker.blade.php index 0bb26ee8aa..5de919c04d 100644 --- a/resources/views/tasks/time_tracker.blade.php +++ b/resources/views/tasks/time_tracker.blade.php @@ -18,6 +18,16 @@ } } + @media (max-width: 768px) { + #clock, + #startLabel { + display: none; + } + .navbar-right button { + padding-left: 0px; + } + } + button .glyphicon { vertical-align: text-top; } @@ -120,10 +130,10 @@ @@ -177,7 +187,7 @@ ->rows(4) !!} -
+
{!! DropdownButton::normal(trans('texts.archive')) ->withAttributes([ @@ -462,6 +472,16 @@ sendKeepAlive(); + $(window).on('resize', function() { + if ($(window).width() > 350) { + $('#buttons .btn').removeClass('btn-sm'); + $('#buttons .btn').addClass('btn-lg'); + }else{ + $('#buttons .btn').removeClass('btn-lg'); + $('#buttons .btn').addClass('btn-sm'); + } + }) + $(window).on('beforeunload', function () { if (navigator.userAgent == 'Time Tracker') { return undefined;