Skip to content

A platform for community discussion. Free, open, simple.

improve header scaling with font size

Kris7a1a1eb4c0eb
diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss
index 07e6c578733..ec9313d4dc9 100644
--- a/app/assets/stylesheets/common/base/header.scss
+++ b/app/assets/stylesheets/common/base/header.scss
@@ -24,7 +24,7 @@
}
#site-logo {
- max-height: 40px;
+ max-height: 2.8571em;
}
.d-icon-home {
diff --git a/app/assets/stylesheets/desktop/header.scss b/app/assets/stylesheets/desktop/header.scss
index 4bdac207a7f..e4b20e264f4 100644
--- a/app/assets/stylesheets/desktop/header.scss
+++ b/app/assets/stylesheets/desktop/header.scss
@@ -28,7 +28,7 @@
}
#main-outlet {
- padding-top: 82px;
+ padding-top: 5.8572em;
}
.search-link .blurb {
diff --git a/app/assets/stylesheets/mobile/header.scss b/app/assets/stylesheets/mobile/header.scss
index d77d3859b38..3a7ecb8797d 100644
--- a/app/assets/stylesheets/mobile/header.scss
+++ b/app/assets/stylesheets/mobile/header.scss
@@ -13,7 +13,7 @@
.d-header {
#site-logo {
- max-width: 130px;
+ max-width: 9.2857em;
}
// some protection for text-only site titles
@@ -47,7 +47,7 @@
}
#main-outlet {
- padding-top: 60px;
+ padding-top: 4.2857em;
}
.search-link .badge-category {