Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Commit c2e5a99

Browse files
committed
fix: fix position of UI
1 parent 480456d commit c2e5a99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Chat/components/ChatWidget.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styled from 'styled-components'
22

33
export const ChatWidget = styled.div`
4-
position: absolute;
4+
position: fixed;
55
z-index: 9999;
66
right: 1rem;
77
bottom: 1rem;

src/chatbutton.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const imageUrl =
1818
style.type = 'text/css'
1919
style.textContent = `#distribute-aid-chat-button {
2020
background-color: #3777ec;
21-
position: absolute;
21+
position: fixed;
2222
bottom: 1rem;
2323
right: 1rem;
2424
border-radius: 100%;

0 commit comments

Comments
 (0)