Skip to content

Commit

Permalink
Merge pull request #508 from DaoCloud/fix/dao-info-card
Browse files Browse the repository at this point in the history
fix(dao-info-card):改变info-card在size为max时,keyvalue情况下的宽度
  • Loading branch information
CIN authored May 25, 2018
2 parents 1a1f24d + 3db20ca commit 39bdb75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/dao-info-card/dao-info-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
$sm-key-value-key-width: 115px;
$lg-key-value-width: 580px;
$lg-key-value-key-width: 265px;
$max-key-value-width: 100%;
$max-key-value-key-width: 50%;

&.size-sm {
width: $sm-width;
Expand Down Expand Up @@ -53,12 +55,12 @@
.dao-infocard-main {
ul {
.dao-key-value {
width: $lg-key-value-width;
width: $max-key-value-width;
.key {
width: $lg-key-value-key-width;
width: $max-key-value-key-width;
}
.value {
width: $lg-key-value-width - $lg-key-value-key-width;
width: $max-key-value-width - $max-key-value-key-width;
}
}
}
Expand Down

0 comments on commit 39bdb75

Please sign in to comment.