Browse Source

fix: change main landmark

Konstantinos Kaloutas 3 years ago
parent
commit
1ce08c5faa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/components/sidebar.cljs

+ 2 - 2
src/main/frontend/components/sidebar.cljs

@@ -332,7 +332,7 @@
      (left-sidebar {:left-sidebar-open? left-sidebar-open?
                     :route-match route-match})
 
-     [:main#main-content-container.scrollbar-spacing.w-full.flex.justify-center.flex-row
+     [:div#main-content-container.scrollbar-spacing.w-full.flex.justify-center.flex-row
 
       (when (util/electron?)
         (find-in-page/search))
@@ -598,7 +598,7 @@
                        (editor-handler/unhighlight-blocks!)
                        (util/fix-open-external-with-shift! e))}
 
-     [:div.theme-inner
+     [:main.theme-inner
       {:class (util/classnames [{:ls-left-sidebar-open left-sidebar-open?
                                  :ls-right-sidebar-open sidebar-open?
                                  :ls-wide-mode wide-mode?}])}