Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring CSS files: merged CommunityProfile styles into global app.module.css #2738

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions src/screens/CommunityProfile/CommunityProfile.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/screens/CommunityProfile/CommunityProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
SlackLogo,
} from 'assets/svgs/social-icons';
import convertToBase64 from 'utils/convertToBase64';
import styles from './CommunityProfile.module.css';
import styles from '../../style/app.module.css';
import { errorHandler } from 'utils/errorHandler';
import UpdateSession from '../../components/UpdateSession/UpdateSession';

Expand Down Expand Up @@ -90,7 +90,7 @@
React.useEffect(() => {
const preLoginData: PreLoginImageryDataType | undefined =
data?.getCommunityData;
preLoginData &&

Check failure on line 93 in src/screens/CommunityProfile/CommunityProfile.tsx

View workflow job for this annotation

GitHub Actions / Performs linting, formatting, type-checking, checking for different source and target branch

Expected an assignment or function call and instead saw an expression
setProfileVariable({
name: preLoginData.name ?? '',
websiteLink: preLoginData.websiteLink ?? '',
Expand Down
42 changes: 42 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,48 @@ hr {
color: #31bb6b !important;
}

.card {
width: fit-content;
}

.cardHeader {
padding: 1.25rem 1rem 1rem 1rem;
border-bottom: 1px solid var(--bs-gray-200);
display: flex;
justify-content: space-between;
align-items: center;
}

.cardHeader .cardTitle {
font-size: 1.5rem;
}

.formLabel {
font-weight: normal;
padding-bottom: 0;
font-size: 1rem;
color: black;
}
.cardBody {
min-height: 180px;
}

.cardBody .textBox {
margin: 0 0 3rem 0;
color: var(--bs-secondary);
}

.socialInput {
height: 2.5rem;
}

@media (max-width: 520px) {
.btn {
flex-direction: column;
justify-content: center;
}
}

@media (max-width: 1024px) {
.pageNotFound h1.head {
font-size: 200px;
Expand Down
Loading