this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Show/hide the switch-view button based on viewport width

+5 -2
+4 -1
src/app.css
··· 928 928 .deck-backdrop .deck .status { 929 929 max-width: var(--main-width); 930 930 } 931 - .deck-backdrop .deck .menu-switch-view { 931 + .deck-backdrop .deck :is(.button-switch-view, menu-switch-view) { 932 932 display: none; 933 933 } 934 934 @media (min-width: 40em) { 935 + .deck-backdrop .deck .button-switch-view { 936 + display: inline-block; 937 + } 935 938 .deck-backdrop .deck .menu-switch-view { 936 939 display: flex; 937 940 }
+1 -1
src/pages/status.jsx
··· 1003 1003 <div class="header-side"> 1004 1004 <button 1005 1005 type="button" 1006 - class="plain4" 1006 + class="plain4 button-switch-view" 1007 1007 style={{ 1008 1008 display: viewMode === 'full' ? '' : 'none', 1009 1009 }}