a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[frontend/components] Allow changing justification of LabeledRuler

authored by

pancakes and committed by
Iceshrimp development
8c60a431 8fd50f24

+13 -3
+13 -3
Iceshrimp.Frontend/Components/LabeledRuler.razor
··· 1 1 <span class="labeled-ruler"> 2 - <span class="rule"></span> 2 + @if (LeftRule) 3 + { 4 + <span class="rule"></span> 5 + } 6 + 3 7 <span class="label">@Label</span> 4 - <span class="rule"></span> 8 + 9 + @if (RightRule) 10 + { 11 + <span class="rule"></span> 12 + } 5 13 </span> 6 14 7 15 @code { 8 - [Parameter, EditorRequired] public required string Label { get; set; } 16 + [Parameter, EditorRequired] public required string Label { get; set; } 17 + [Parameter] public bool LeftRule { get; set; } = true; 18 + [Parameter] public bool RightRule { get; set; } = true; 9 19 }