File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 5252 <menu .Item><LinkTo @route =" category-slugs" >List of category slugs</LinkTo ></menu .Item>
5353 </dd .Menu>
5454 </Dropdown >
55- <span local-class =" sep" >|</span >
55+ </nav >
56+
57+ <div local-class =" login" >
5658 {{ #if this.session.currentUser }}
5759 <Dropdown data-test-user-menu as |dd|>
5860 <dd .Trigger local-class =" dropdown-button" data-test-toggle>
9698 Log in with GitHub
9799 </button >
98100 {{ /if }}
99- </nav >
101+ </div >
100102
101103 <div local-class =' menu' >
102104 <Dropdown as |dd|>
Original file line number Diff line number Diff line change 1818
1919 @media only screen and (min-width : 890px ) {
2020 grid-template :
21- "index-link search-form nav" auto
22- / auto 1fr auto;
21+ "index-link search-form nav login " auto
22+ / auto minmax ( 150 px , 400 px ) minmax ( 220 px , 1fr ) auto;
2323 }
2424
2525 a {
@@ -80,20 +80,12 @@ input.search {
8080 background-size : 14px 15px ;
8181 border-radius : 15px ;
8282 box-shadow : none;
83- transition : box-shadow 150ms , max-width 150 ms ;
83+ transition : box-shadow 150ms ;
8484
8585 & : focus {
8686 outline : none;
8787 box-shadow : 0 0 0 4px var (--yellow500 );
8888 }
89-
90- @media only screen and (min-width : 551px ) {
91- max-width : 400px ;
92-
93- & : focus {
94- max-width : 100% ;
95- }
96- }
9789}
9890
9991.search-label {
@@ -127,6 +119,14 @@ input.search {
127119 }
128120}
129121
122+ .login {
123+ display : none;
124+
125+ @media only screen and (min-width : 890px ) {
126+ display : block;
127+ }
128+ }
129+
130130.menu {
131131 grid-area : menu;
132132 text-align : right;
You can’t perform that action at this time.
0 commit comments