Skip to content

Commit

Permalink
fixed:#2502 Refactored CSS files in src/screens/BlockUser (#3215)
Browse files Browse the repository at this point in the history
* initial commit

* Update UpdateSession.spec.tsx
  • Loading branch information
gurramkarthiknetha authored Jan 10, 2025
1 parent d633ebd commit 56415cf
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 105 deletions.
102 changes: 0 additions & 102 deletions src/screens/BlockUser/BlockUser.module.css

This file was deleted.

75 changes: 72 additions & 3 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ hr {
top: 50%;
width: 50%;
height: 1px;
background: #fff;
background: var(--white);
content: '';
}
.pageNotFound h1.head span:before {
Expand Down Expand Up @@ -3746,7 +3746,7 @@ button[data-testid='createPostBtn'] {

.primaryText {
font-weight: bold;
color: var(--bs-emphasis-color, #000);
color: var(--bs-emphasis-color, var(--black-color));
@extend .reusable-text-ellipsis; /* Referencing the reusable class from the general section */
}

Expand Down Expand Up @@ -3799,7 +3799,7 @@ button[data-testid='createPostBtn'] {

.inactiveButton {
background-color: transparent;
color: var(--bs-emphasis-color, #000);
color: var(--bs-emphasis-color, var(--black-color));

&:hover {
background-color: var(--grey-bg-color);
Expand Down Expand Up @@ -5970,3 +5970,72 @@ button[data-testid='createPostBtn'] {
margin-left: 13vw;
max-width: 80vw;
}

.btnsContainer .input {
width: 70%;
}

.btnsContainer .inputContainer button {
width: 52px;
}

.largeBtnsWrapper {
display: flex;
}

.listBox {
width: 100%;
flex: 1;
}

@media (max-width: 1020px) {
.btnsContainer {
flex-direction: column;
margin: 1.5rem 0;
}

.btnsContainer .input {
width: 100%;
}

.btnsContainer .btnsBlock {
margin: 1.5rem 0 0 0;
justify-content: space-between;
}

.btnsContainer .btnsBlock button {
margin: 0;
}

.btnsContainer .btnsBlock div button {
margin-right: 1.5rem;
}
}

/* For mobile devices */

@media (max-width: 520px) {
.btnsContainer {
margin-bottom: 0;
}

.btnsContainer .btnsBlock {
display: block;
margin-top: 1rem;
margin-right: 0;
}

.largeBtnsWrapper {
flex-direction: column;
}

.btnsContainer .btnsBlock div {
flex: 1;
}

.btnsContainer .btnsBlock button {
margin-bottom: 1rem;
margin-right: 0;
width: 100%;
}
}

0 comments on commit 56415cf

Please sign in to comment.