Skip to content

Commit 7d0b7cd

Browse files
committed
998783: Fixing issue in Employement Mangement
1 parent 4ff3f27 commit 7d0b7cd

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
@@ -100,8 +100,8 @@
100100

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

Employee_Managment_App/src/components/Policies.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ const Policies: React.FC = () => {
179179
target=".policies-grid-wrapper"
180180
cssClass="policy-dialog"
181181
close={onDialogClose}
182+
animationSettings={{ duration: 0 }}
182183
>
183184
{selected && (
184185
<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
@@ -85,6 +85,7 @@
8585

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

@@ -315,6 +316,7 @@
315316
/* Badge */
316317
.badge {
317318
position: absolute;
319+
font-family: 'Roboto', sans-serif;
318320
top: -4px;
319321
right: -4px;
320322
min-width: 18px;

Employee_Managment_App/src/components/TopNav.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ type TopNavProps = {
2222
onOpenTasks?: () => void;
2323
onOpenApps?: () => void;
2424
onOpenAnnouncements?: () => void;
25-
onHelp?: () => void;
2625
onProfile?: () => void;
2726
onSignOut?: () => void;
2827
userFullName?: string;
@@ -50,7 +49,6 @@ const TopNav: React.FC<TopNavProps> = ({
5049
onOpenTasks,
5150
onOpenApps,
5251
onOpenAnnouncements,
53-
onHelp,
5452
onProfile,
5553
onSignOut,
5654
userFullName = 'Test Person',
@@ -242,15 +240,6 @@ const TopNav: React.FC<TopNavProps> = ({
242240
)}
243241
</button>
244242

245-
<button className="icon-btn" type="button" onClick={onHelp} title="Help">
246-
<svg width="20" height="20" viewBox="0 0 24 24" aria-hidden="true">
247-
<path
248-
fill="currentColor"
249-
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"
250-
/>
251-
</svg>
252-
</button>
253-
254243
<div className="topnav-avatar-wrapper" ref={avatarRef}>
255244
<button
256245
className="topnav-avatar"

0 commit comments

Comments
 (0)