From f8101798019fe18182cdc6712e88d903e6f52964 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Tue, 31 Oct 2017 15:03:04 +0800 Subject: [PATCH] exception responsive improve --- src/components/Exception/index.less | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/components/Exception/index.less b/src/components/Exception/index.less index bfc49818..d920141d 100644 --- a/src/components/Exception/index.less +++ b/src/components/Exception/index.less @@ -47,3 +47,31 @@ } } } + +@media screen and (max-width: @screen-xl) { + .exception { + .imgBlock { + padding-right: 88px; + } + } +} + +@media screen and (max-width: @screen-sm) { + .exception { + display: block; + text-align: center; + .imgBlock { + padding-right: 0; + margin: 0 auto 24px; + } + } +} + +@media screen and (max-width: @screen-xs) { + .exception { + .imgBlock { + margin-bottom: -24px; + overflow: hidden; + } + } +} -- GitLab