File tree 3 files changed +29
-13
lines changed
3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 12
12
<PackageReference Include =" Blazored.LocalStorage" Version =" 4.5.0" />
13
13
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 8.0.8" />
14
14
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 8.0.8" PrivateAssets =" all" />
15
- <PackageReference Include =" PublishSPAforGitHubPages.Build" Version =" 2.2 .0" />
15
+ <PackageReference Include =" PublishSPAforGitHubPages.Build" Version =" 3.0 .0" />
16
16
<PackageReference Include =" System.Text.Json" Version =" 8.0.4" />
17
17
</ItemGroup >
18
18
19
19
<ItemGroup >
20
20
<!-- <ProjectReference Include="..\..\SplitContainer\SplitContainer.csproj" />-->
21
- <PackageReference Include =" Toolbelt.Blazor.SplitContainer" Version =" 2.0.0 " />
21
+ <PackageReference Include =" Toolbelt.Blazor.SplitContainer" Version =" 2.0.1 " />
22
22
</ItemGroup >
23
23
24
24
</Project >
Original file line number Diff line number Diff line change 2
2
3
3
<h2 >Nesting</h2 >
4
4
5
- <SplitContainer TSize =" int" Id =" split-container-2" Orientation =" SplitterOrientation.Vertical" Style =" width:100%; height:400px;" FirstPaneSize =" 128" FirstPaneMinSize =" 80" SecondPaneMinSize =" 80" >
5
+ <SplitContainer TSize =" int" Id =" split-container-2" Orientation =" SplitterOrientation.Vertical" Style =" width:100%; height:400px;" FirstPaneSize =" 160" FirstPaneMinSize =" 80" SecondPaneMinSize =" 180" >
6
+
6
7
<FirstPane >
7
8
<h1 >Blazor</h1 >
8
9
</FirstPane >
9
10
10
11
<SecondPane >
11
12
<SplitContainer TSize =" int" Orientation =" SplitterOrientation.Horizontal" Style =" width:100%; height:100%;" SecondPaneSize =" 128" FirstPaneMinSize =" 80" SecondPaneMinSize =" 80" >
13
+
12
14
<FirstPane >
13
- <h1 >Split</h1 >
15
+ <SplitContainer TSize =" int" Orientation =" SplitterOrientation.Vertical" Style =" width:100%; height:100%;" FirstPaneSize =" 128" FirstPaneMinSize =" 80" SecondPaneMinSize =" 80" >
16
+
17
+ <FirstPane >
18
+ <h1 >Split</h1 >
19
+ </FirstPane >
20
+
21
+ <SecondPane >
22
+ <h1 >Container</h1 >
23
+ </SecondPane >
24
+
25
+ </SplitContainer >
14
26
</FirstPane >
15
27
16
28
<SecondPane >
17
- <h1 >Container </h1 >
29
+ <h1 >Component </h1 >
18
30
</SecondPane >
19
31
20
32
</SplitContainer >
Original file line number Diff line number Diff line change @@ -31,12 +31,23 @@ main {
31
31
}
32
32
33
33
::deep h1 {
34
- margin : 0 20px ;
34
+ margin : 0 ;
35
+ padding : 0 20px ;
35
36
white-space : nowrap;
36
37
overflow : hidden;
37
38
text-overflow : ellipsis;
39
+ border : dashed 2px blueviolet;
40
+ position : absolute;
41
+ inset : 0 ;
42
+ text-align : center;
38
43
}
39
44
45
+ ::deep h1 ::before {
46
+ content : "" ;
47
+ display : block;
48
+ height : calc (50% - 0.8em );
49
+ }
50
+
40
51
::deep .split-container {
41
52
--splitter-bar-size : 14px ;
42
53
}
@@ -47,10 +58,3 @@ main {
47
58
justify-content : center;
48
59
align-items : center;
49
60
}
50
-
51
- ::deep # split-container-1 .pane-of-split-container ,
52
- ::deep # split-container-2 .pane-of-split-container : first-of-type ,
53
- ::deep # split-container-2 .pane-of-split-container : last-of-type .pane-of-split-container : last-of-type ,
54
- ::deep # split-container-3 .pane-of-split-container {
55
- border : dashed 2px blueviolet;
56
- }
You can’t perform that action at this time.
0 commit comments