Disabled clickable elements in sidebar when sidebar is collapsed

2 jobs for master
Status Name Job ID Coverage
  Build
canceled build_clazy_clang_tidy #149927

canceled linux kf5-qt5 qt5.15 #149926