Skip to content

Commit

Permalink
Merge pull request #53 from explooosion/develop
Browse files Browse the repository at this point in the history
Merge develop into master
  • Loading branch information
explooosion authored May 5, 2023
2 parents 61529a3 + 6235ead commit f569355
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const Main = styled.main`
#container {
margin: 0 auto;
width: 1450px;
width: 1550px;
@media only screen and (max-width: ${p => p.theme.screenXl}) {
width: 100%;
Expand Down
6 changes: 3 additions & 3 deletions src/container/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class List extends Component {
{ label: '5', checked: true, star: 5 },
{ label: '4', checked: false, star: 4 },
{ label: '3', checked: false, star: 3 },
{ label: this.t('normal'), checked: false, star: 2 },
{ label: '2', checked: false, star: 2 },
{ label: '1', checked: false, star: 1 },
],
nameOptions: [
{ label: this.t('show'), checked: true },
Expand All @@ -50,7 +51,6 @@ class List extends Component {
let nameOptions = [];

stars = state.stars;
stars[3].label = t('normal');

nameOptions = state.nameOptions;
nameOptions[0].label = t('show');
Expand Down Expand Up @@ -223,7 +223,7 @@ class List extends Component {
(this.state.stars[2].checked && Number(_star) === 4) ||
(this.state.stars[3].checked && Number(_star) === 3) ||
(this.state.stars[4].checked && Number(_star) === 2) ||
(this.state.stars[4].checked && Number(_star) === 1))
(this.state.stars[5].checked && Number(_star) === 1))
);
})
.map((c, index) => {
Expand Down
16 changes: 8 additions & 8 deletions src/container/List.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
float: right;
margin: 0 1rem 0 0.2rem;
padding: 0.8rem 0;
width: 700px;
width: 800px;
background-color: rgba(0, 0, 0, 0.3);
border-radius: 0.5rem;

Expand All @@ -24,8 +24,8 @@
.type {
display: flex;
align-items: center;
justify-content: space-around;
width: 130px;
justify-content: center;
width: 145px;
height: 45px;
/* stylelint-disable */
font-family: $en-title-font;
Expand Down Expand Up @@ -53,6 +53,7 @@
i {
display: inline-block;
margin-top: 3px;
margin-right: 0.5rem;
width: 34px;
height: 34px;
background-position: center;
Expand All @@ -66,7 +67,7 @@
display: flex;
align-items: center;
justify-content: space-around;
padding: 0 1rem;
padding: 0 2rem;
font-size: 18px;

.filter-title {
Expand Down Expand Up @@ -94,14 +95,13 @@
}

.search {
margin: 1rem auto;
padding: 1rem 2rem;
width: 100%;
text-align: center;

.search-text {
margin: 0 auto;
padding: 0.25rem 0.5rem;
width: 625px;
padding: 0.5rem;
width: 100%;
font-size: 18px;
font-family: $input-font;
color: #ddd;
Expand Down

0 comments on commit f569355

Please sign in to comment.