File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
2- <div data-text-el =" editor-outline" class =" editor--outline" :class =" { 'editor--outline-mobile': mobile }" >
2+ <div data-text-el =" editor-outline" class =" editor--outline" :class =" { 'editor--outline-mobile': $isMobile }" >
33 <header class =" editor--outline__header" >
44 <NcButton class =" editor--outline__btn-close"
55 type =" tertiary"
@@ -21,6 +21,7 @@ import TableOfContents from './TableOfContents.vue'
2121import { useOutlineStateMixin , useOutlineActions } from ' ./Wrapper.provider.js'
2222import { Close } from ' ./../icons.js'
2323import useStore from ' ../../mixins/store.js'
24+ import { useIsMobileMixin } from ' ../Editor.provider.js'
2425
2526export default {
2627 name: ' EditorOutline' ,
@@ -63,7 +64,8 @@ export default {
6364 max-height : calc (100% - 204px );
6465
6566 & -mobile {
66- box-shadow : 8px 0 17px -19px var (--color-box-shadow );
67+ border-radius : var (--border-radius-large );
68+ box-shadow : 0 1px 10px var (--color-box-shadow );
6769 background-color : var (--color-main-background-translucent );
6870 z-index : 1 ;
6971 }
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export default {
102102 return false
103103 }
104104
105- return this . viewWidth > 1265
105+ return true
106106 },
107107 },
108108
You can’t perform that action at this time.
0 commit comments