Skip to content

Commit 83459ef

Browse files
Merge pull request #4860 from OneCommunityGlobal/venkataramanan_fix_user_management_page_link_button_styles
Venkataramanan 🔥 User management page link button styles
2 parents dab5781 + 8e67ec3 commit 83459ef

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

src/components/UserManagement/UserTableFooter.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import styles from './usermanagement.module.css';
23

34
const NUMBER_OF_PAGE_LINK = 5;
45

@@ -178,7 +179,7 @@ const PageLinkItemComponent = (props) => {
178179
<button
179180
type="button"
180181
style={{ fontWeight: props.isSelected ? 'bold' : 'normal' }}
181-
className="page-no-link link-button"
182+
className={`${styles.pageNoLink} ${styles.linkButton}`}
182183
onClick={e => {
183184
e.preventDefault();
184185
props.onPageSelect(props.pageNo);

src/components/UserManagement/usermanagement.module.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@
205205
display: none;
206206
}
207207

208-
.pageNoLink {
209-
margin-left: 10px;
210-
text-align: center;
211-
margin-top: 7px;
212-
}
213-
214208
.usermanagementActionsCell {
215209
display: table-cell;
216210
padding-left: 10px;
@@ -220,6 +214,12 @@
220214
background: #e9f6ff;
221215
}
222216

217+
.pageNoLink {
218+
margin-left: 10px;
219+
text-align: center;
220+
margin-top: 7px;
221+
}
222+
223223
.linkButton {
224224
background-color: transparent;
225225
border: none;

0 commit comments

Comments
 (0)