content/static: fix position of 'Learn more' link on large screens
Change-Id: Ib8b487becfbaae2dc7781f292fce2b542f30bcfd
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/308569
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/content/static/css/unit_meta.css b/content/static/css/unit_meta.css
index 46dea43..4614e6c 100644
--- a/content/static/css/unit_meta.css
+++ b/content/static/css/unit_meta.css
@@ -9,6 +9,7 @@
display: flex;
flex-direction: column;
margin-bottom: 0.5rem;
+ position: relative;
}
@media screen and (max-width: 51.9375rem), (min-width: 64rem) {
.UnitMeta > div {
@@ -29,6 +30,7 @@
'd e .'
'f g .';
justify-content: space-between;
+ position: initial;
word-break: break-word;
}
.UnitMeta-detailsTitle {