File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 107
107
}
108
108
}
109
109
110
-
111
110
.AppNav_badge {
112
111
position : absolute ;
113
112
color : lightskyblue ;
114
- right : -.5 rem ;
113
+ right : -1 rem ;
115
114
top : -.75rem ;
116
115
text-align : right ;
117
116
padding : .2rem .4rem ;
118
- font-size : .5 rem ;
117
+ font-size : .75 rem ;
119
118
border : 1px solid var (--color-text );
120
119
font-stretch : condensed ;
121
120
font-family : var (--font-family-text );
122
121
height : 1rem ;
123
122
line-height : normal ;
124
123
}
124
+ @media (max-width : 859px ) {
125
+ .AppNav_badge {
126
+ display : none ;
127
+ }
128
+ }
125
129
130
+ @media (max-width : 360px ) {
131
+ .ThemeSwitcher + .AppNav_item {
132
+ display : none ;
133
+ }
134
+ }
Original file line number Diff line number Diff line change 29
29
<div class =" AppNav_menu" >
30
30
<a href =" {{ path(' app_turbo' ) }}" class =" AppNav_item" >Turbo</a >
31
31
<a href =" {{ path(' app_live_component' ) }}" class =" AppNav_item" >Live <span >Components</span ></a >
32
+ <a href =" {{ path(' app_icons' ) }}" class =" AppNav_item" >
33
+ <span class =" AppNav_badge" >New</span >
34
+ Icons
35
+ </a >
32
36
<a href =" {{ path(' app_packages' ) }}" class =" AppNav_item" >Packages</a >
33
37
<a href =" {{ path(' app_demos' ) }}" class =" AppNav_item" >Demos</a >
34
38
</div >
Original file line number Diff line number Diff line change @@ -21,6 +21,19 @@ final class IconsTest extends KernelTestCase
21
21
{
22
22
use HasBrowser;
23
23
24
+ public function testCanViewIconFromHomepage (): void
25
+ {
26
+ $ this ->browser ()
27
+ ->visit ('/ ' )
28
+ ->assertSuccessful ()
29
+ ->assertSeeIn ('.AppNav_menu ' , 'Icons ' )
30
+ ->click ('Icons ' )
31
+ ->assertSuccessful ()
32
+ ->assertSeeIn ('title ' , 'Icons ' )
33
+ ->assertSeeIn ('h1 ' , 'Icons ' )
34
+ ;
35
+ }
36
+
24
37
public function testCanViewIconIndex (): void
25
38
{
26
39
$ this ->browser ()
You can’t perform that action at this time.
0 commit comments