Browse Source

Removed not needed visible text from mobile desktop switch button.

Thanks to xet7 !
Lauri Ojansivu 1 tuần trước cách đây
mục cha
commit
62ede48196
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      client/components/main/header.jade

+ 2 - 2
client/components/main/header.jade

@@ -80,8 +80,8 @@ template(name="header")
 
       .mobile-mode-toggle
         a.board-header-btn.js-mobile-mode-toggle(title="{{_ 'mobile-desktop-toggle'}}" class="{{#if mobileMode}}mobile-active{{else}}desktop-active{{/if}}")
-          | 📱(class="{{#if mobileMode}}active{{/if}}")
-          | 🖥️(class="{{#unless mobileMode}}active{{/unless}}")
+          i.mobile-icon(class="{{#if mobileMode}}active{{/if}}") 📱
+          i.desktop-icon(class="{{#unless mobileMode}}active{{/unless}}") 🖥️
 
       // Bookmarks button - desktop opens popup, mobile routes to page
       a.board-header-btn.js-open-bookmarks(title="{{_ 'bookmarks'}}")