Skip to content

Commit

Permalink
fix: responsive history pages
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderOsadchyy committed May 19, 2020
1 parent 46f8cd0 commit bc709a0
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 11 deletions.
6 changes: 3 additions & 3 deletions dao-web-app/src/components/Account/Account.scss
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ input {
}

@media only screen and (max-width: 425px) {
.targetAccount {
width: 12px !important;
}
// .targetAccount {
// width: 12px !important;
// }
.profileWrapper {
display: block;
}
Expand Down
56 changes: 52 additions & 4 deletions dao-web-app/src/components/Proposal/ProposalDetails.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ button.disabled {
h2 {
display: inline-block;
padding-right: 27px;
font-size: 50px;
line-height: 60px;
// font-size: 50px;
// line-height: 60px;
margin: 0;
}

Expand Down Expand Up @@ -482,11 +482,59 @@ button.disabled {
}
}

@media only screen and (max-width: 425px) {
@media (max-width: 768px) {
.wrapperTitle {
margin-bottom: 10px;
}
.proposal {
display: block;

&Actions {
max-width: calc(100% - 40px);
}

&TitleTop {
padding: 15px;
}

&Info {
&Cont {
padding: 15px 0;
}
}

&SummaryContainer {
left: -15px;
}
}

.proposalActions {
width: calc(100% - 40px);
}

.buttonBar {
button {
&.shareButton {
line-height: normal;
margin-right: 10px;
}
}
.followButton {
margin: 10px 0 0 0;
}
}

.statusTitle {
padding: 15px 20px;
h3 {
font-size: 18px;
line-height: 28px;
}
}
}

@media only screen and (max-width: 425px) {

.proposalInfo {
padding: 15px;
padding-right: 15px;
Expand All @@ -497,7 +545,7 @@ button.disabled {
}

.voteBox {
margin: 0 0 0 0;
margin: 0 0 20px 0;
border-radius: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
font-size: 22px;
line-height: 32px;
font-family: Montserrat;

a {
color: #010B2B !important;
}
}


Expand Down Expand Up @@ -139,7 +143,7 @@
.transferType {
display: inline-block;
// color: #010B2B;
color: #fff;
// color: #fff;

strong {
// color: rgba(80, 97, 118, 1.000);
Expand Down
6 changes: 3 additions & 3 deletions dao-web-app/src/components/Scheme/SchemeProposals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
// margin-top: 80px;

p {
color: rgba(154, 169, 181, 1);
font-size: 21px;
font-family: "AccordBold", sans-serif;
color: #fff;
font-size: 18px;
// font-family: "AccordBold", sans-serif;
margin: 0 auto;
max-width: 450px;
text-align: center;
Expand Down

0 comments on commit bc709a0

Please sign in to comment.