Skip to content

Commit b467298

Browse files
fix: fixed UI issues of discussion for incontext sidebar (#633)
* fix: fixed UI issues of discussion for incontext sidebar * refactor: added paragon class * refactor: improved actionBar UI --------- Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
1 parent b5d036a commit b467298

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

src/discussions/discussions-home/DiscussionsHome.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const DiscussionsHome = () => {
8686
>
8787
<div
8888
className={classNames('d-flex flex-row justify-content-between navbar fixed-top', {
89-
'pl-4 pr-3 py-0': enableInContextSidebar,
89+
'pl-4 pr-2 py-0': enableInContextSidebar,
9090
})}
9191
>
9292
{!enableInContextSidebar && (

src/discussions/posts/post-actions-bar/PostActionsBar.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,14 @@ const PostActionsBar = () => {
6767
)}
6868
{enableInContextSidebar && (
6969
<>
70-
<div className="border-right border-light-300 mr-3 ml-1.5 my-10px" />
71-
<div className="justify-content-center mt-2.5 mx-3px">
70+
<div className="border-right border-light-300 mr-2 my-10px" />
71+
<div className="d-flex align-items-center justify-content-center">
7272
<IconButton
7373
src={Close}
74+
size="sm"
7475
iconAs={Icon}
7576
onClick={handleCloseInContext}
7677
alt={intl.formatMessage(messages.close)}
77-
iconClassNames="spinner-dimensions"
78-
className="spinner-dimensions"
7978
/>
8079
</div>
8180
</>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.small-font {
22
font-size: .875rem !important;
33
}
4+

src/index.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ $fa-font-path: "~font-awesome/fonts";
140140
margin-left: 2px;
141141
}
142142

143-
.mx-3px {
144-
margin-left: 3px;
145-
margin-right: 3px;
146-
}
147-
148143
.mt-14px {
149144
margin-top: 14px;
150145
}

0 commit comments

Comments
 (0)