File tree Expand file tree Collapse file tree 5 files changed +8
-24
lines changed Expand file tree Collapse file tree 5 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,9 @@ import React from "react";
3
3
function BorderResize ( { right, top } ) {
4
4
return (
5
5
< div
6
- className = "borderResize"
7
- style = { {
8
- right : right ? right + "px" : "-1px" ,
9
- bottom : top ? top + "px" : "-1px" ,
10
- borderRight : "3px solid #188ae2" ,
11
- borderBottom : "3px solid #188ae2"
12
- } }
6
+ className = { `${ right ? `-right-[12px]` : "-right-[1px]" } ${
7
+ top ? `-bottom-[11px]` : "-bottom-[1px]"
8
+ } absolute inline-block w-[14px] h-[14px] hover:cursor-sw-resize border-r-[3px] border-b-[3px] border-[#188ae2]`}
13
9
> </ div >
14
10
) ;
15
11
}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function PlaceholderBorder(props) {
47
47
onTouchEnd = { ( ) =>
48
48
props . pos . type === textWidget && props ?. setDraggingEnabled ( true )
49
49
}
50
- className = "borderResize "
50
+ className = "absolute inline-block w-[14px] h-[14px] hover:cursor-sw-resize "
51
51
style = { {
52
52
borderColor : themeColor ,
53
53
borderStyle : "dashed" ,
Original file line number Diff line number Diff line change @@ -246,10 +246,9 @@ function RenderPdf({
246
246
{ isMobile ? (
247
247
< div
248
248
data-tut = "reactourForth"
249
- style = { {
250
- border : "0.1px solid #ebe8e8" ,
251
- marginTop : isGuestSigner && "30px"
252
- } }
249
+ className = { `${
250
+ isGuestSigner ? "30px" : ""
251
+ } border-[0.1px] border-[#ebe8e8]`}
253
252
ref = { drop }
254
253
id = "container"
255
254
>
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ export const getWidgetType = (item) => {
379
379
< div className = "op-btn w-fit md:w-[100%] op-btn-primary op-btn-outline op-btn-sm focus:outline-none outline outline-[1.5px] ml-[6px] md:ml-0 p-0 overflow-hidden" >
380
380
< div className = "w-full h-full flex md:justify-between items-center" >
381
381
< div className = "flex justify-start items-center text-[13px] ml-1" >
382
- { ! isMobile && < i className = "fa-sharp fa-solid fa- grip-vertical" > </ i > }
382
+ { ! isMobile && < i className = "fa-light fa-grip-vertical ml-[3px] " > </ i > }
383
383
< span className = "md:inline-block text-center text-[15px] ml-[5px] font-semibold pr-1 md:pr-0" >
384
384
{ item . type }
385
385
</ span >
Original file line number Diff line number Diff line change 50
50
width : 460px ;
51
51
}
52
52
53
- .borderResize {
54
- position : absolute;
55
- display : inline-block;
56
- width : 14px ;
57
- height : 14px ;
58
- }
59
-
60
- .borderResize : hover {
61
- cursor : sw-resize;
62
- }
63
-
64
53
.icon {
65
54
position : absolute;
66
55
font-size : 14px ;
You can’t perform that action at this time.
0 commit comments