mirror of https://git.stjo.hn/planiverse
Switch from hr dividers to list items
Switched from using horizontal rules to divide articles to making each article a list item. This is invisible to graphical browsers, but makes identifying posts and reposts much easier in text browsers.
This commit is contained in:
parent
73d0123d69
commit
457da06f22
|
@ -82,18 +82,17 @@ input, textarea {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
display: inline;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
@component('navigation')
|
||||
@endcomponent
|
||||
|
||||
<ul>
|
||||
@foreach ($context['ancestors'] as $ancestor)
|
||||
@component('status', ['status' => $ancestor])
|
||||
@endcomponent
|
||||
|
@ -27,5 +28,6 @@
|
|||
@component('status', ['status' => $descendant])
|
||||
@endcomponent
|
||||
@endforeach
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -22,10 +22,12 @@
|
|||
{{ csrf_field() }}
|
||||
</form>
|
||||
|
||||
<ul>
|
||||
@foreach ($statuses as $status)
|
||||
@component('status', ['status' => $status])
|
||||
@endcomponent
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
@component('pagination', ['links' => $links])
|
||||
@endcomponent
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<article>
|
||||
<li><article>
|
||||
@component('event_info', [
|
||||
'account' => $notification['account'],
|
||||
'created_at' => $notification['created_at'],
|
||||
|
@ -10,4 +10,4 @@
|
|||
@component('status', ['status' => $notification['status']])
|
||||
@endcomponent
|
||||
@endif
|
||||
</article>
|
||||
</article></li>
|
||||
|
|
|
@ -15,10 +15,12 @@
|
|||
@component('navigation')
|
||||
@endcomponent
|
||||
|
||||
<ul>
|
||||
@foreach ($notifications as $notification)
|
||||
@component('notification', ['notification' => $notification])
|
||||
@endcomponent
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
@component('pagination', ['links' => $links])
|
||||
@endcomponent
|
||||
|
|
|
@ -15,10 +15,12 @@
|
|||
@component('navigation')
|
||||
@endcomponent
|
||||
|
||||
<ul>
|
||||
@foreach ($statuses as $status)
|
||||
@component('status', ['status' => $status])
|
||||
@endcomponent
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
@component('pagination', ['links' => $links])
|
||||
@endcomponent
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<hr />
|
||||
<article>
|
||||
<li><article>
|
||||
@component('event_info', [
|
||||
'account' => $status['account'],
|
||||
'created_at' => $status['created_at'],
|
||||
|
@ -54,5 +53,4 @@
|
|||
{{ $status['favourites_count'] }}
|
||||
</span>
|
||||
</div>
|
||||
</article>
|
||||
<hr />
|
||||
</article></li>
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
<ul>
|
||||
@component('status', ['status' => $status['reblog']])
|
||||
@endcomponent
|
||||
</ul>
|
||||
@endif
|
||||
|
|
Loading…
Reference in New Issue