content/static/css: align baseline for identifiers
The baseline for the identifier name and "add in <version" text are now
aligned.
Change-Id: I2995c8ab3942a8b333bdf7e9bc353d927460919d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/310130
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
diff --git a/content/static/css/stylesheet.css b/content/static/css/stylesheet.css
index cd29687..2c54976 100644
--- a/content/static/css/stylesheet.css
+++ b/content/static/css/stylesheet.css
@@ -1322,16 +1322,13 @@
.Documentation-type h4,
.Documentation-typeFunc h4,
.Documentation-typeMethod h4 {
+ align-items: baseline;
display: flex;
justify-content: space-between;
- position: relative;
}
.Documentation-sinceVersion {
- bottom: 0;
font-size: 1rem;
font-weight: 400;
- position: absolute;
- right: 0;
}
.Documentation-constants br:last-of-type,