Skip to content

Commit 8d7c222

Browse files
committed
Revert "Added scroll to bottom button"
This reverts commit 250d48a.
1 parent 1c6d4f1 commit 8d7c222

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

resources/views/panel/config.blade.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<form action="{{ route('editAC') }}" method="post">
1818
@csrf
1919
<div class="form-group col-lg-8">
20-
<br><a style="font-size:140%;" href="#bottom">🠟 Scroll to bottom 🠟</a><br>
2120
<label>Advanced Configuration file.</label>
2221
<pre><textarea class="form-control" name="AdvancedConfig" rows="280">{{ file_get_contents('config/advanced-config.php') }}</textarea></pre>
2322
</div>
@@ -35,18 +34,18 @@
3534
</form>
3635
@elseif(str_ends_with($_SERVER['REQUEST_URI'], 'env'))
3736
<h2 class="mb-4"><i class="bi bi-pencil-square"> ENV</i></h2>
37+
3838
<form action="{{ route('editENV') }}" method="post">
3939
@csrf
4040
<div class="form-group col-lg-8">
41-
<br><a style="font-size:140%;" href="#bottom">🠟 Scroll to bottom 🠟</a><br>
4241
<label>.env</label>
4342
<pre><textarea class="form-control" name="AdvancedConfig" rows="80">{{ file_get_contents('.env') }}</textarea></pre>
4443
</div>
4544
<button type="submit" class="mt-3 ml-3 btn btn-info">Save</button>
4645
</form>
4746
@endif
4847

49-
<a name="bottom"></a>
48+
5049

5150
@endsection
5251
@endif

resources/views/vendor/env-editor/index.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444

4545
<div class="tab-content" id="nav-tabContent">
4646
<div class="tab-pane fade show active p-3" id="current-env" role="tabpanel" aria-labelledby="nav-home-tab">
47-
<br><a style="font-size:140%;" href="#bottom">🠟 Scroll to bottom 🠟</a><br>
4847
<env-main-tab></env-main-tab>
4948
</div>
5049
<div class="tab-pane fade p-3" id="backup-env" role="tabpanel" aria-labelledby="nav-profile-tab">
@@ -55,7 +54,7 @@
5554
</div>
5655
<p style="color:#fff; font-weight:500; font-size:100%; position:relative; bottom:25px;">You can disable or enable registration <a href="{{ url('panel/pages') }}">here</a>.</p>
5756
</div>
58-
<a name="bottom"></a>
57+
5958
<env-keys-modal ref="keysModal"></env-keys-modal>
6059
</div>
6160
<p style="color:#fff; font-weight:500; font-size:160%;">Use the <a href="{{url()->current()}}/../panel/env">Alternative Config Editor ⤻</a></p>

0 commit comments

Comments
 (0)