Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit 31171b3

Browse files
committed
Styled button for missing access. 'Tis not blue.
1 parent 3aa2c10 commit 31171b3

2 files changed

Lines changed: 37 additions & 2 deletions

File tree

src/pages/searchPatient.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ const ChoosePatient: React.FC<{ clientLoading: boolean }> = ({ clientLoading })
5555
<div className="text-wrapper">
5656
<p>Missing access!</p>
5757
<p>Please restart the app and allow access to all resources.</p>
58-
<button className="dipsPrimaryButton">
59-
</button>
58+
<Link href={"/"} className="default-link">
59+
<button className={styles.dipsSecondaryButton}>
60+
Return to login
61+
</button>
62+
</Link>
6063
</div>
6164
</div>
6265
);

src/styles/searchPatient.module.scss

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,38 @@
7474
}
7575
}
7676

77+
.dipsSecondaryButton {
78+
font-family: 'CircularStd';
79+
box-shadow: 0 0 25px 1px rgba(0, 0, 0, 0.2);
80+
min-height: 30px;
81+
height: fit-content;
82+
min-width: 30px;
83+
width: fit-content;
84+
text-align: center;
85+
letter-spacing: 0.01em;
86+
border-radius: 100px;
87+
border-style: none;
88+
font-size: 14px;
89+
font-weight: bold;
90+
color: $white;
91+
background-color: rgba(209, 27, 27, 0.619);
92+
cursor: pointer;
93+
94+
padding: 10px;
95+
padding-inline: 20px;
96+
97+
&:active,
98+
&:focus {
99+
border-style: fill;
100+
}
101+
102+
&:hover {
103+
background-color: rgba(209, 27, 27);
104+
color: white;
105+
text-decoration: none;
106+
}
107+
}
108+
77109
.buttonLink {
78110
text-decoration: none;
79111
color: white;

0 commit comments

Comments
 (0)