Skip to content

Commit a8a3dda

Browse files
committed
some style fixes
1 parent 6333d3c commit a8a3dda

File tree

7 files changed

+32
-21
lines changed

7 files changed

+32
-21
lines changed

build/follow-me/style-view-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/follow-me/style-view.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/remote-reply/style-index-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/remote-reply/style-index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/remote-reply/style.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
padding: 0 5px;
44
color: inherit;
55
align-self: center;
6-
flex: 1;
76
height: inherit;
87
font-size: inherit;
8+
9+
&:hover {
10+
background: inherit;
11+
border: inherit;
12+
}
913
}
1014

1115
.activitypub-remote-reply {

src/shared/lightbox.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
font-size: 16px;
5252
border-width: 1px;
5353
height: inherit;
54+
line-height: 1;
55+
margin-right: 0;
5456
}
5557

5658
button {
@@ -64,6 +66,11 @@
6466
font-size: 16px;
6567
border-width: 1px;
6668
height: inherit;
69+
line-height: 1;
70+
71+
&:hover {
72+
border: inherit;
73+
}
6774
}
6875
}
6976
}

src/shared/use-remote-user.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ function deleteStore() {
1919
}
2020

2121
export function useRemoteUser() {
22-
const [ remoteUser, setRemoteUserInternal ] = useState( getStore() );
22+
const [ remoteUser, setRemoteUserInternal ] = useState( getStore() );
2323

2424
const setRemoteUser = useCallback( ( data ) => {
25-
setStore( data );
26-
setRemoteUserInternal( data );
27-
}, [] );
28-
29-
const deleteRemoteUser = useCallback( () => {
30-
deleteStore();
31-
setRemoteUserInternal( {} );
32-
}, [] );
33-
34-
return {
35-
template: remoteUser?.template || false,
36-
profileURL: remoteUser?.profileURL || false,
37-
setRemoteUser,
38-
deleteRemoteUser
39-
};
25+
setStore( data );
26+
setRemoteUserInternal( data );
27+
}, [] );
28+
29+
const deleteRemoteUser = useCallback( () => {
30+
deleteStore();
31+
setRemoteUserInternal( {} );
32+
}, [] );
33+
34+
return {
35+
template: remoteUser?.template || false,
36+
profileURL: remoteUser?.profileURL || false,
37+
setRemoteUser,
38+
deleteRemoteUser
39+
};
4040
}
4141

0 commit comments

Comments
 (0)