Browse Source

mobile optimisations - hide more elements when in mobile mode

pull/4898/head
Daniel Spaude 2 years ago
parent
commit
bbaa676ba4
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 5
      packages/nc-gui/components/dashboard/TreeView.vue

5
packages/nc-gui/components/dashboard/TreeView.vue

@ -30,6 +30,8 @@ import {
import MdiView from '~icons/mdi/eye-circle-outline' import MdiView from '~icons/mdi/eye-circle-outline'
import MdiTableLarge from '~icons/mdi/table-large' import MdiTableLarge from '~icons/mdi/table-large'
const { isMobileMode } = useGlobal()
const { addTab, updateTab } = useTabs() const { addTab, updateTab } = useTabs()
const { $api, $e } = useNuxtApp() const { $api, $e } = useNuxtApp()
@ -984,9 +986,10 @@ const setIcon = async (icon: string, table: TableType) => {
<LazyGeneralHelpAndSupport class="color-transition px-2 text-gray-500 cursor-pointer select-none hover:text-accent" /> <LazyGeneralHelpAndSupport class="color-transition px-2 text-gray-500 cursor-pointer select-none hover:text-accent" />
<GeneralJoinCloud class="color-transition px-2 text-gray-500 cursor-pointer select-none hover:text-accent" /> <GeneralJoinCloud v-if="!isMobileMode" class="color-transition px-2 text-gray-500 cursor-pointer select-none hover:text-accent" />
<GithubButton <GithubButton
v-if="!isMobileMode"
class="ml-2 py-1" class="ml-2 py-1"
href="https://github.com/nocodb/nocodb" href="https://github.com/nocodb/nocodb"
data-icon="octicon-star" data-icon="octicon-star"

Loading…
Cancel
Save