From a2f38f9a3bb4e7075ca43436767f2413e72bda3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=85=89?= Date: Mon, 2 Dec 2019 13:26:09 +0800 Subject: =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BF=94=E5=9B=9E=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=9C=A8=E7=A7=BB=E5=8A=A8=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 分别增加侧边距与移动设备上的按钮大小,适配于部分圆角全面屏设备 --- assets/css/main/component.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'assets/css/main') diff --git a/assets/css/main/component.css b/assets/css/main/component.css index 6cca92c..dc14155 100644 --- a/assets/css/main/component.css +++ b/assets/css/main/component.css @@ -80,8 +80,8 @@ button { .fixed-button { background: #fdfdfd; font-size: 16px; - height: 40px; - width: 40px; + height: 3.5rem; + width: 3.5rem; display: flex; justify-content:center; align-items:center; @@ -106,6 +106,7 @@ button { bottom: 8px; background: #fff!important; color: rgb(80,80,80)!important; + right: 1rem; } /* Bubble */ .bubble { @@ -132,4 +133,4 @@ button { .bubble:hover { transform: translateY(-6px); box-shadow: 2px 8px 17px #bababa; -} \ No newline at end of file +} -- cgit v1.2.3