File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 22 aside {
33 opacity : 0.7 ;
44 background-color : #e0eeee ;
5+ transition : width 0.5s ;
6+
7+ .description {
8+ position : relative ;
9+ top : -30px ;
10+ }
511 }
612
713 nav {
814 background-color : #eee0e0 ;
15+ transition : width 0.5s ;
16+
17+ .description {
18+ position : relative ;
19+ top : 30px ;
20+ }
921 }
1022
1123 main {
1224 background-color : #eee ;
25+ transition : left 0.5s ;
1326 }
1427
1528 .description {
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export const LayersDemo = () => {
1414 onMouseEnter = { ( ) => setFixedSideBarHovered ( true ) }
1515 onMouseLeave = { ( ) => setFixedSideBarHovered ( false ) }
1616 as = "nav" >
17+ { Description ( "Layer 1 left" ) }
1718 </ Space . Left >
1819
1920 < Space . Fill as = "main" >
@@ -27,7 +28,7 @@ export const LayersDemo = () => {
2728 onMouseEnter = { ( ) => setFloatingSideBarHovered ( true ) }
2829 onMouseLeave = { ( ) => setFloatingSideBarHovered ( false ) }
2930 as = "aside" >
30- { Description ( "Left floated " ) }
31+ { Description ( "Layer 2 left " ) }
3132 </ Space . Left >
3233 </ Space . Layer >
3334 </ Space . Fill >
You can’t perform that action at this time.
0 commit comments