Skip to content

Commit f5b20ad

Browse files
committed
998783: Fixed UIissue in Employement Mangement
1 parent 2be8579 commit f5b20ad

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

Employee_Managment_App/src/components/Policies.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999

100100
.section-title {
101101
margin: 0;
102-
font-size: 14px;
103-
font-weight: 600;
102+
font-size: 18px;
103+
font-weight: 700;
104104
font-family: 'Roboto', sans-serif;
105105
}
106106

Employee_Managment_App/src/components/Policies.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ const Policies: React.FC = () => {
180180
target=".policies-grid-wrapper"
181181
cssClass="policy-dialog"
182182
close={onDialogClose}
183+
animationSettings={{ duration: 0 }}
183184
>
184185
{selected && (
185186
<div className="policy-dialog__content">

Employee_Managment_App/src/components/TopNav.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484

8585
.company-name {
8686
font-size: 16px;
87+
font-weight: bold;
8788
color: rgba(0, 0, 0, 0.87);
8889
}
8990

@@ -313,6 +314,7 @@
313314
/* Badge */
314315
.badge {
315316
position: absolute;
317+
font-family: 'Roboto', sans-serif;
316318
top: -4px;
317319
right: -4px;
318320
min-width: 18px;

Employee_Managment_App/src/components/TopNav.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ type TopNavProps = {
2323
onOpenTasks?: () => void;
2424
onOpenApps?: () => void;
2525
onOpenAnnouncements?: () => void;
26-
onHelp?: () => void;
2726
onProfile?: () => void;
2827
onSignOut?: () => void;
2928
userFullName?: string;
@@ -53,7 +52,6 @@ const TopNav: React.FC<TopNavProps> = ({
5352
onOpenTasks,
5453
onOpenApps,
5554
onOpenAnnouncements,
56-
onHelp,
5755
onProfile,
5856
onSignOut,
5957
userFullName = 'Test Person',
@@ -225,15 +223,6 @@ const TopNav: React.FC<TopNavProps> = ({
225223
)}
226224
</button>
227225

228-
<button className="icon-btn" type="button" onClick={onHelp} title="Help">
229-
<svg width="20" height="20" viewBox="0 0 24 24" aria-hidden="true">
230-
<path
231-
fill="currentColor"
232-
d="M11 18h2v2h-2zm1-16c-5 0-9 4-9 9s4 9 9 9s9-4 9-9s-4-9-9-9zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7s7 3.14 7 7s-3.14 7-7 7zm-.88-5h1.76v-1c0-1.1 2.12-1.38 2.12-3.25c0-1.65-1.35-2.75-3-2.75c-1.52 0-2.64.83-3.02 2.06l1.64.66c.16-.54.63-1.06 1.38-1.06c.69 0 1.24.42 1.24 1.06c0 1.18-2.12 1.45-2.12 3.28v1z"
233-
/>
234-
</svg>
235-
</button>
236-
237226
<div className="topnav-avatar-wrapper" ref={avatarRef}>
238227
<ButtonComponent
239228
cssClass="topnav-avatar"

0 commit comments

Comments
 (0)