Skip to content

Commit be2e360

Browse files
committed
fixed the UI: PC icon is not always centered when resizing app window.
1 parent 6fcf179 commit be2e360

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

desktop-app/src/Components/Home/Response/Animation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ const Animation = ({ endReq }) => {
3131
return (
3232
<div className='anim-div'>
3333
<div className='anim-container'>
34-
<div className='progress' aria-valuenow="65" aria-valuemin="0" aria-valuemax="100"></div>
34+
<div className='progress' aria-valuenow="65" aria-valuemin="0" aria-valuemax="100">
3535
<img className='monitor-img' src={monitor} />
36+
</div>
3637
<div style={{ height: "0.2vh", width: "200vw", backgroundColor: showconnection ? "transparent" : "transparent" ,marginLeft: "10%" }}></div>
3738
<div style={{ width: "5vw", height: "0.2vh", marginLeft: `${marginvalue}vw`, position: "absolute", backgroundColor: showconnection ? "blue" : "transparent" }}></div>
3839
<button className='cancel-req-btn' style={{ position: "absolute" }} onClick={endReq} >Cancel</button>

desktop-app/src/Components/Home/Response/animation.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464

6565
.monitor-img {
6666
position: absolute;
67-
margin-left: 6.5%;
6867
height: 6vh;
6968
z-index: 3;
7069
}

0 commit comments

Comments
 (0)