From 2a1c7cc9860fcedc49f9dfe4a5beab3c43a89feb Mon Sep 17 00:00:00 2001 From: Alexander <137034289+GreedVal@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:45:41 +0300 Subject: [PATCH] Fix margin button --- resources/views/exercise/show.blade.php | 45 +++++++++++++------------ 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/resources/views/exercise/show.blade.php b/resources/views/exercise/show.blade.php index e4d6c1cd8..6432de9e1 100644 --- a/resources/views/exercise/show.blade.php +++ b/resources/views/exercise/show.blade.php @@ -61,30 +61,31 @@ class="sticky-top col-md-12 d-flex {{ $previousExercise->exists ? 'justify-conte @include(getExerciseListingViewFilepath($exercise))
- @auth -
- @if ($exercise->solutions()->exists()) - - {{ __('views.exercise.show.buttons.show_solutions') }} - - @endif + @auth +
+ @if ($exercise->solutions()->exists()) + + {{ __('views.exercise.show.buttons.show_solutions') }} + + @endif - @if (!$isShowSavedSolutionsButton) - {{ __('solution.show_solution') }} - @endif - @if ($exercise->users->isEmpty()) -

{{ __('exercise.show.nobody_completed') }}

- @else - @include('exercise._modal.completed_by') - - @endif + @if (!$isShowSavedSolutionsButton) + {{ __('solution.show_solution') }} + @endif + + @if ($exercise->users->isEmpty()) +

{{ __('exercise.show.nobody_completed') }}

+ @else + @include('exercise._modal.completed_by') + + @endif
- @endauth + @endauth