mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2025-12-06 05:32:03 +01:00
Fix bug causing last column unable to be filled
This commit is contained in:
parent
4418efee1f
commit
a7df037662
|
|
@ -12,13 +12,13 @@
|
||||||
</HeadContent>
|
</HeadContent>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
|
<span title="Click to play a piece" @onclick="() => PlayPiece(0)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(1)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(1)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(2)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(2)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(3)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(3)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(4)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(4)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(5)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(5)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(6)">🔽</span>
|
<span title="Click to play a piece" @onclick="() => PlayPiece(6)">🔽</span>
|
||||||
<span title="Click to play a piece" @onclick="() => PlayPiece(7)">🔽</span>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
|
|
|
||||||
|
|
@ -83,31 +83,31 @@ span.container {
|
||||||
box-shadow: 0 0 0 4px var(--player2);
|
box-shadow: 0 0 0 4px var(--player2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col1 {
|
.col0 {
|
||||||
left: calc(0em + 9px);
|
left: calc(0em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col2 {
|
.col1 {
|
||||||
left: calc(4em + 9px);
|
left: calc(4em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col3 {
|
.col2 {
|
||||||
left: calc(8em + 9px);
|
left: calc(8em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col4 {
|
.col3 {
|
||||||
left: calc(12em + 9px);
|
left: calc(12em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col5 {
|
.col4 {
|
||||||
left: calc(16em + 9px);
|
left: calc(16em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col6 {
|
.col5 {
|
||||||
left: calc(20em + 9px);
|
left: calc(20em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.col7 {
|
.col6 {
|
||||||
left: calc(24em + 9px);
|
left: calc(24em + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue