Skip to content

Commit

Permalink
css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
erenfn committed Dec 18, 2024
1 parent 96b226e commit bcab379
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 19 deletions.
15 changes: 2 additions & 13 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ const App = () => {
<Routes>
<Route path="/" element={<Private Component={HomePageTemplate} />}>
<Route index element={<Home />} />
<Route path="link" element={<LinksDefaultPage />} />
<Route path="tour" element={<ToursDefaultPage />} />
<Route path="/banner/create" element={<BannerPage />} />
<Route path="/popup/create" element={<Private Component={CreatePopupPage} />} />
<Route path="/link" element={<LinksDefaultPage />} />
<Route path="/tour" element={<ToursDefaultPage />} />
<Route path="/banner" element={<Private Component={BannerDefaultPage} />} />
<Route path="/popup" element={<Private Component={PopupDefaultPage} />} />
<Route path="/hint" element={<HintDefaultPage />} />
<Route path="/settings" element={<Settings />} />
</Route>

<Route path="/login" element={<LoginPage isAdmin={isAdminLogin}/>} />
Expand All @@ -59,14 +56,6 @@ const App = () => {
<Route path="/set-new-password" element={<SetNewPasswordPage />} />

<Route path="/progress-steps" element={<ProgressStepsMain />} />
<Route path="/banner/create" element={<BannerPage />} />
<Route path="/popup/create" element={<Private Component={CreatePopupPage} />} />
<Route path="/banner" element={<Private Component={BannerDefaultPage} />} />
<Route path="/popup" element={<Private Component={PopupDefaultPage} />} />
<Route path="/link" element={<LinksDefaultPage />} />
<Route path="/tour" element={<ToursDefaultPage />} />
<Route path="/hint" element={<HintDefaultPage />} />
<Route path="/popup" element={<PopupDefaultPage/>} />
<Route path="/403" element={<Error403 />} />
<Route path="*" element={<Error404 />} />
</Routes>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/products/Popup/PopupComponent.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
font-weight: 600;
line-height: 30px;
text-align: left;
padding: 0 2rem;
padding: 0 2rem 0 0;
}

.popupContentContainer {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/scenes/login/CreateAccountPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function CreateAccountPage({ isAdmin = false, setIsAdmin}) {
<CustomTextField
id="name"
name="name"
type="name"
type="text"
labelText="Name*:"
checkCircleIconVisible={true}
displayCheckCircleIcon={touched.name && !errors.name}
Expand All @@ -120,7 +120,7 @@ function CreateAccountPage({ isAdmin = false, setIsAdmin}) {
<CustomTextField
id="surname"
name="surname"
type="surname"
type="text"
labelText="Surname*:"
checkCircleIconVisible={true}
displayCheckCircleIcon={touched.surname && !errors.surname}
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/scenes/login/Login.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@
}

.form-group input[type="email"],
.form-group input[type="name"],
.form-group input[type="password"],
.form-group input[type="surname"] {
.form-group input[type="text"],
.form-group input[type="password"] {
width: 100%;
border: 1px solid var(--light-border-color);
border-radius: 8px;
Expand Down

0 comments on commit bcab379

Please sign in to comment.