Skip to content

Commit

Permalink
refactor: org-post css
Browse files Browse the repository at this point in the history
  • Loading branch information
hustlernik committed Dec 24, 2024
1 parent c14708f commit 70292f7
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 333 deletions.
325 changes: 0 additions & 325 deletions src/screens/OrgPost/OrgPost.module.css

This file was deleted.

16 changes: 8 additions & 8 deletions src/screens/OrgPost/OrgPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ function orgPost(): JSX.Element {
return (
<>
<Row className={styles.head}>
<div className={styles.mainpageright}>
<div className={styles.btnsContainer}>
<div className={styles.input}>
<div className={styles.mainpagerightOrgPost}>
<div className={styles.btnsContainerOrgPost}>
<div className={styles.inputOrgPost}>
<Form.Control
type="text"
id="posttitle"
Expand All @@ -301,7 +301,7 @@ function orgPost(): JSX.Element {
<Search />
</Button>
</div>
<div className={styles.btnsBlock}>
<div className={styles.btnsBlockOrgPost}>
<div className="d-flex">
<Dropdown
aria-expanded="false"
Expand Down Expand Up @@ -497,7 +497,7 @@ function orgPost(): JSX.Element {
/>

{postformState.addMedia && file && (
<div className={styles.preview} data-testid="mediaPreview">
<div className={styles.previewOrgPost} data-testid="mediaPreview">
{/* Display preview for both image and video */}
{file.type.startsWith('image') ? (
<img
Expand All @@ -512,7 +512,7 @@ function orgPost(): JSX.Element {
</video>
)}
<button
className={styles.closeButton}
className={styles.closeButtonOrgPost}
onClick={(): void => {
setPostFormState({
...postformState,
Expand Down Expand Up @@ -551,7 +551,7 @@ function orgPost(): JSX.Element {
<Modal.Footer>
<Button
variant="secondary"
className={styles.closeButton}
className={styles.closeButtonOrgPost}
onClick={(): void => hideInviteModal()}
data-testid="closeOrganizationModal"
>
Expand All @@ -561,7 +561,7 @@ function orgPost(): JSX.Element {
type="submit"
value="invite"
data-testid="createPostBtn"
className={`${styles.addButton} mt-2`}
className={`${styles.addButtonOrgPost} mt-2`}
>
{t('addPost')}
</Button>
Expand Down
Loading

0 comments on commit 70292f7

Please sign in to comment.