diff --git a/src/components/HeadBar/HeadBar.scss b/src/components/HeadBar/HeadBar.scss index c5f9433..f173c58 100644 --- a/src/components/HeadBar/HeadBar.scss +++ b/src/components/HeadBar/HeadBar.scss @@ -33,10 +33,14 @@ position: relative; background: #ffffff; flex: 0 0 56px; + line-height: 16px; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08); border-radius: 8px; align-items: center; + padding-right: 17px; + justify-content: space-between; .floorname { + flex: 0 0 46px; width: 46px; font-family: DINPro; font-style: normal; @@ -47,8 +51,7 @@ color: #333333; } .format { - position: absolute; - right: 17px; + white-space: nowrap; font-family: PingFang SC; font-style: normal; font-weight: normal; diff --git a/src/components/Popup/Popup.js b/src/components/Popup/Popup.js index 6166a08..a7789e6 100644 --- a/src/components/Popup/Popup.js +++ b/src/components/Popup/Popup.js @@ -26,7 +26,7 @@ const Popup = ({ onClick={() => closePopup()} >