Skip to content

Commit

Permalink
Move Desktop Drag Handle setting more right.
Browse files Browse the repository at this point in the history
Thanks to Emile840 and xet7 !

Related #4734,
related #4715
  • Loading branch information
xet7 committed Dec 14, 2022
1 parent cb336b4 commit 2be0385
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions client/components/main/header.jade
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ template(name="header")
The first link goes to the boards page.
if currentUser
#header-quick-access(class=currentBoard.colorClass)
a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
i.fa.fa-arrows
if isShowDesktopDragHandles
i.fa.fa-check-square-o
unless isShowDesktopDragHandles
i.fa.fa-ban
if isMiniScreen
span
a(href="{{pathFor 'home'}}")
span.fa.fa-home

ul.header-quick-access-list
if currentList
each currentBoard.lists
Expand All @@ -30,6 +23,12 @@ template(name="header")
a(href="{{pathFor 'board' id=_id slug=slug}}")
+viewer
= title
a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
i.fa.fa-arrows
if isShowDesktopDragHandles
i.fa.fa-check-square-o
unless isShowDesktopDragHandles
i.fa.fa-ban
#header-new-board-icon
else
//-
Expand Down Expand Up @@ -62,7 +61,12 @@ template(name="header")
= title
else
li.current.empty {{_ 'quick-access-description'}}

a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
i.fa.fa-arrows
if isShowDesktopDragHandles
i.fa.fa-check-square-o
unless isShowDesktopDragHandles
i.fa.fa-ban
// Next line is used only for spacing at header,
// there is no visible clickable icon.
#header-new-board-icon
Expand Down

0 comments on commit 2be0385

Please sign in to comment.