Skip to content

Commit 7569ef5

Browse files
committed
smol tweaks to the datapack display
1 parent 0a11dde commit 7569ef5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
<template id="datapack-template">
6464
<div class="datapack">
65-
<img height="100px" />
65+
<img/>
6666
<div class="name-and-description">
6767
<h3 class="name"></h3>
6868
<p class="description"></p>

style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ a:visited {
155155

156156
img {
157157
border-radius: 0.5em;
158+
border: var(--border-width) var(--background) solid;
159+
height: 6rem;
158160
}
159161

160162
.name {
@@ -167,6 +169,8 @@ a:visited {
167169
}
168170

169171
.name-and-description {
172+
line-height: 1.25;
173+
170174
padding-left: 1em;
171175
align-items: stretch;
172176
align-content: center;

0 commit comments

Comments
 (0)