Browse Source

fix(gui): show fullscreen button tooltip on left side to avoid unexpected scrollbar

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3713/head
Pranav C 2 years ago
parent
commit
b1a7c6272d
  1. 6
      packages/nc-gui/components/general/FullScreen.vue

6
packages/nc-gui/components/general/FullScreen.vue

@ -14,9 +14,11 @@ const isSidebarsOpen = computed({
</script> </script>
<template> <template>
<a-tooltip> <a-tooltip placement="left">
<!-- todo: i18n --> <!-- todo: i18n -->
<template #title> {{ isSidebarsOpen ? 'Full width' : 'Exit full width' }}</template> <template #title>
<span class="text-xs">{{ isSidebarsOpen ? 'Full width' : 'Exit full width' }}</span>
</template>
<div <div
v-e="['c:toolbar:fullscreen']" v-e="['c:toolbar:fullscreen']"
class="nc-fullscreen-btn cursor-pointer flex align-center self-center px-2 py-2 mr-2" class="nc-fullscreen-btn cursor-pointer flex align-center self-center px-2 py-2 mr-2"

Loading…
Cancel
Save