Skip to content

Commit

Permalink
Merge pull request #122 from sdslabs/ui-fixes
Browse files Browse the repository at this point in the history
UI fixes
  • Loading branch information
ayanchoudhary authored Oct 25, 2021
2 parents 2d2ad4e + 074a250 commit ae80e2f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/components/request/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class Request extends Component {
* @param {object} e
*/
file_active_material = (e) => {
$('input:radio').prop('checked', false);
$('input:text').val('');
this.setState({ disable: 2 });
};

Expand Down
2 changes: 1 addition & 1 deletion src/styles/partials/_coursePage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
height: 0.0625rem;
align-self: center;
margin-top: 0.625rem;
border: 0.02125rem solid $primary;
border-bottom: 0.125rem solid $primary;
}

&addcourse {
Expand Down
9 changes: 5 additions & 4 deletions src/styles/partials/_landingHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
&search {
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 1.25rem;
width: 70%;
border-radius: 0.25rem;
Expand Down Expand Up @@ -103,7 +104,7 @@

&login {
@include font;
width: 6.25rem;
width: 5.25rem;
height: 2.5625rem;
color: $secondary;
background: transparent;
Expand All @@ -112,11 +113,11 @@

&signup {
@include font;
width: 7.5625rem;
width: 4.99625rem;
height: 2.5625rem;
color: $font-color;
border-radius: 0.25rem;
border: 1px solid $font-color;
border-radius: 0.125rem;
border: 0.0625rem solid $font-color;
background: transparent;
}

Expand Down
1 change: 1 addition & 0 deletions src/styles/partials/_search.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.search {
@include center;
display: flex;
flex-direction: column;
width: 100%;
Expand Down

0 comments on commit ae80e2f

Please sign in to comment.