1
0
mirror of synced 2024-11-27 16:10:53 +01:00

Make ai battle label column sticky

This commit is contained in:
shiibe 2022-09-23 16:59:03 -04:00
parent 40ed3028c2
commit ec4338bdb9
2 changed files with 16 additions and 1 deletions

View File

@ -102,7 +102,7 @@
@if (context.Item.ShowAiData)
{
<MudTr>
<td colspan="1" class="pa-3" style="background: #FAFAFA">
<td colspan="1" class="pa-3 ai-battle-td">
<MudText Typo="Typo.body2" Style="font-weight: bold">
AI Battle Data
</MudText>

View File

@ -34,3 +34,18 @@
.columns-panel {
column-count: 2;
}
.ai-battle-td {
position: sticky;
left: 0;
top: 0;
z-index: 99;
background: #FAFAFA;
display: none;
}
@media only screen and (min-width: 600px) {
.ai-battle-td {
display: revert;
}
}