From 29fbfb59c3a0649bf313568084fdd4151f6b6d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 31 Oct 2022 22:27:15 +0100 Subject: [PATCH] Tweak mobile "Read as wiki page" button placement Bug: T320755 Change-Id: Ic647ff922161a6f8804dfd2a87249c6591cfb093 --- modules/dt.init.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/dt.init.less b/modules/dt.init.less index 9953698b0..abd5f3ae9 100644 --- a/modules/dt.init.less +++ b/modules/dt.init.less @@ -733,6 +733,13 @@ h1, h2, h3, h4, h5, h6 { background: @colorGray15; border-top: 1px solid @colorGray14; text-align: center; + // Match Minerva styles + max-width: 993.3px; + margin-left: auto; + margin-right: auto; + // Avoid smooshing with content / empty state (T320755) + margin-top: 32px; + margin-bottom: -32px; // stylelint-disable-line declaration-block-no-redundant-longhand-properties } }