File tree Expand file tree Collapse file tree
version1.0.0/components/validation/is-port-func Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ const routes: Routes = [
5050 // Automatic scrolling
5151 anchorScrolling : "enabled" ,
5252 // Use this value to scroll to the html element with a suitable view
53- scrollOffset : [ 0 , 60 ]
53+ scrollOffset : [ 0 , 60 ] ,
54+ scrollPositionRestoration : "top"
5455 }
5556 )
5657 ] ,
Original file line number Diff line number Diff line change 44 < ng-container class ="article ">
55 < p >
66 An < code > extension</ code > validation < code > method</ code > checks if the property's value is a valid port
7- number, note: the maximum port number is 65535.
7+ number, note: the maximum port number is
8+ < a href ="https://stackoverflow.com/a/113228/3858705 " target ="blank "> 65535</ a > .
89 </ p >
910 < div >
1011 < h2 class ="section-heading ">
Original file line number Diff line number Diff line change 11export const environment = {
22 production : true ,
3- gitHubRepo : "https://github.com/DotNetValidator/Lib " ,
4- gitHubApi : "https://api.github.com/repos/DotNetValidator/Lib " ,
3+ gitHubRepo : "https://github.com/DotNetValidator/DotNetValidator " ,
4+ gitHubApi : "https://api.github.com/repos/DotNetValidator/DotNetValidator " ,
55 nugetPackage : "https://www.nuget.org/packages/DotNetValidator/" ,
66 nugetApi : "https://api-v2v3search-0.nuget.org/query?q=packageid:dotnetvalidator" ,
77 stackOverflow : "https://stackoverflow.com/questions/tagged/DotNetValidator" ,
Original file line number Diff line number Diff line change 44
55export const environment = {
66 production : false ,
7- gitHubRepo : "https://github.com/DotNetValidator/Lib " ,
8- gitHubApi : "https://api.github.com/repos/DotNetValidator/Lib " ,
7+ gitHubRepo : "https://github.com/DotNetValidator/DotNetValidator " ,
8+ gitHubApi : "https://api.github.com/repos/DotNetValidator/DotNetValidator " ,
99 nugetPackage : "https://www.nuget.org/packages/DotNetValidator/" ,
1010 nugetApi : "https://api-v2v3search-0.nuget.org/query?q=packageid:dotnetvalidator" ,
1111 stackOverflow : "https://stackoverflow.com/questions/tagged/DotNetValidator" ,
Original file line number Diff line number Diff line change 33
44.code-block {
55 background-color : #f0f0f0 ;
6+ display : grid ;
67}
78
89.hljs {
Original file line number Diff line number Diff line change @@ -59,11 +59,3 @@ app-post-article {
5959 }
6060 }
6161}
62-
63- @include screen-min-md {
64- app-post-article {
65- /* 100% of parent - side-nav-width - section-nav-width - 5rem for margins & paddings */
66- width : calc (100vw - #{$side-nav-width } - #{$section-nav-width } - 5rem );
67- max-width : calc (100vw - #{$side-nav-width } - #{$section-nav-width } - 5rem );
68- }
69- }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ app-post-section-navigator {
22 position : sticky ;
33 top : calc (#{$top-navbar-height } + #{$main-content-top-spacing } );
44 right : 0 ;
5- left : calc ( 100 % - #{ $section-nav-width } ) ;
5+ left : auto ;
66 max-height : calc (100vh - 3rem );
77 max-width : $section-nav-width ;
88 min-width : $section-nav-width ;
Original file line number Diff line number Diff line change 11.side-nav {
22 position : sticky ;
33 top : $top-navbar-height ;
4- display : block ;
54 max-height : calc (100vh - #{$top-navbar-height } );
65 min-height : calc (100vh - #{$top-navbar-height } );
76 max-width : $side-nav-width ;
You can’t perform that action at this time.
0 commit comments