make it better.
This commit is contained in:
parent
5eea84d121
commit
0967f2ceb1
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
.galleryView ul {
|
.galleryView ul {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr;
|
||||||
/* grid-auto-flow: column;
|
/* grid-auto-flow: column;
|
||||||
grid-auto-columns: 100%; */
|
grid-auto-columns: 100%; */
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<% images.forEach(([ img, desc, url ]) => { %>
|
<% images.forEach(([ img, desc, url ]) => { %>
|
||||||
<li>
|
<li>
|
||||||
<figure>
|
<figure>
|
||||||
<img class="screen" src="<%= img %>" alt="<%= desc %>" title="<%= desc %>" />
|
<a href="<%= img %>"><img class="screen" src="<%= img %>" alt="<%= desc %>" title="<%= desc %>" /></a>
|
||||||
<figcaption><a href="<%= url %>"><%= desc %></a></figcaption>
|
<figcaption><a href="<%= url %>"><%= desc %></a></figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue