Fixed collapse button in narrow window mode in tasks view

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

canceled linux kf5-qt5 qt5.15 #154825