Add config_display option to support regular and large renders (#310)

This commit is contained in:
Simon Lecoq
2021-05-18 22:31:53 +02:00
committed by GitHub
parent 04bf1f0316
commit ed0da41973
36 changed files with 586 additions and 402 deletions

View File

@@ -5,7 +5,7 @@
Recently starred repositories
</h2>
<div class="row">
<section>
<section class="largeable-flex-wrap">
<% if (plugins.stars.error) { %>
<div class="field error">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2.343 13.657A8 8 0 1113.657 2.343 8 8 0 012.343 13.657zM6.03 4.97a.75.75 0 00-1.06 1.06L6.94 8 4.97 9.97a.75.75 0 101.06 1.06L8 9.06l1.97 1.97a.75.75 0 101.06-1.06L9.06 8l1.97-1.97a.75.75 0 10-1.06-1.06L8 6.94 6.03 4.97z"></path></svg>
@@ -13,7 +13,7 @@
</div>
<% } else { %>
<% for (const {starred, node:repository} of plugins.stars.repositories) { %>
<div class="row fill-width">
<div class="row fill-width largeable-width-half">
<section class="repository">
<div class="field">
<% if (repository.isFork) { %>