aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-12-03 19:35:03 -0500
committerJesús <heckyel@hyperbola.info>2021-12-03 19:35:03 -0500
commit8e5b6dc83128cf0d99a859cea84d9e267baaf86c (patch)
tree90739abb2c7a3d3fea0ef1f590ef23faa5e4b8c1
parent66b2b2000764add5fbc6b1046762beeaebc5583d (diff)
downloadyt-local-8e5b6dc83128cf0d99a859cea84d9e267baaf86c.tar.lz
yt-local-8e5b6dc83128cf0d99a859cea84d9e267baaf86c.tar.xz
yt-local-8e5b6dc83128cf0d99a859cea84d9e267baaf86c.zip
[Design]: add 0.5rem for grid-gap (col and row)
-rw-r--r--youtube/static/search.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube/static/search.css b/youtube/static/search.css
index 270ba70..95db90f 100644
--- a/youtube/static/search.css
+++ b/youtube/static/search.css
@@ -254,7 +254,7 @@ hr {
/* Video list item */
.video-container {
display: grid;
- grid-row-gap: 0.5rem;
+ grid-gap: 0.5rem;
}
.length {
@@ -432,7 +432,7 @@ hr {
@media (min-width: 600px) {
.video-container {
display: grid;
- grid-row-gap: 0.5rem;
+ grid-gap: 0.5rem;
grid-template-columns: 1fr 1fr;
}
}
@@ -496,7 +496,7 @@ hr {
.video-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
- grid-row-gap: 1rem;
+ grid-gap: 1rem;
grid-column-gap: 1rem;
}