fixed mobile
This commit is contained in:
parent
9f9db95c18
commit
b13f7820e4
|
|
@ -2231,11 +2231,11 @@
|
|||
</div>
|
||||
|
||||
<!-- Mobile Bottom Tabs -->
|
||||
<div class="mobile-bottom-tabs" x-data style="display: none;">
|
||||
<div class="mobile-bottom-tabs" style="display: none;">
|
||||
<button
|
||||
class="mobile-bottom-tab"
|
||||
:class="{'active': $root.activePanel === 'files'}"
|
||||
@click="$root.activePanel = 'files'; $root.mobileSidebarOpen = true;"
|
||||
:class="{'active': activePanel === 'files'}"
|
||||
@click="activePanel = 'files'; mobileSidebarOpen = true;"
|
||||
>
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"></path>
|
||||
|
|
@ -2244,8 +2244,8 @@
|
|||
</button>
|
||||
<button
|
||||
class="mobile-bottom-tab"
|
||||
:class="{'active': $root.activePanel === 'search'}"
|
||||
@click="$root.activePanel = 'search'; $root.mobileSidebarOpen = true;"
|
||||
:class="{'active': activePanel === 'search'}"
|
||||
@click="activePanel = 'search'; mobileSidebarOpen = true;"
|
||||
>
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
||||
|
|
@ -2254,8 +2254,8 @@
|
|||
</button>
|
||||
<button
|
||||
class="mobile-bottom-tab"
|
||||
:class="{'active': $root.activePanel === 'tags'}"
|
||||
@click="$root.activePanel = 'tags'; $root.mobileSidebarOpen = true;"
|
||||
:class="{'active': activePanel === 'tags'}"
|
||||
@click="activePanel = 'tags'; mobileSidebarOpen = true;"
|
||||
>
|
||||
<svg fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"/>
|
||||
|
|
@ -2264,8 +2264,8 @@
|
|||
</button>
|
||||
<button
|
||||
class="mobile-bottom-tab"
|
||||
:class="{'active': $root.showGraph}"
|
||||
@click="$root.showGraph = true; $root.initGraph(); $root.mobileSidebarOpen = false;"
|
||||
:class="{'active': showGraph}"
|
||||
@click="showGraph = true; initGraph(); mobileSidebarOpen = false;"
|
||||
>
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"></path>
|
||||
|
|
@ -2274,8 +2274,8 @@
|
|||
</button>
|
||||
<button
|
||||
class="mobile-bottom-tab"
|
||||
:class="{'active': $root.activePanel === 'settings'}"
|
||||
@click="$root.activePanel = 'settings'; $root.mobileSidebarOpen = true;"
|
||||
:class="{'active': activePanel === 'settings'}"
|
||||
@click="activePanel = 'settings'; mobileSidebarOpen = true;"
|
||||
>
|
||||
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path>
|
||||
|
|
|
|||
Loading…
Reference in New Issue