Skip to content

Commit

Permalink
Merge pull request #254 from pqv199x/tables
Browse files Browse the repository at this point in the history
fixing spacing between status and vote column
  • Loading branch information
thanhson1085 authored Oct 29, 2018
2 parents 01eb0f4 + 9d460b5 commit 3d8b7da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/assets/scss/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
grid-template-columns: 100% !important;

.btn {
margin: 0 5px;
margin: 0 0px;
}

&:before {
Expand All @@ -203,7 +203,7 @@

thead tr,
tbody tr {
grid-template-columns: 20% 10% 20% 15% 25% 10%;
grid-template-columns: auto 10% 20% 15% 15% 10%;
align-items: center;
padding-top: 0;
padding-bottom: 0;
Expand Down Expand Up @@ -307,7 +307,7 @@
td[aria-colindex="5"],
th[aria-colindex="5"] {
padding-left: 20px;
padding-right: 10px;
padding-right: 0px;
}

th[aria-colindex="6"] {
Expand Down Expand Up @@ -378,7 +378,7 @@

thead tr,
tbody tr {
grid-template-columns: 26% 12% 15% 15% 23% 10%;
grid-template-columns: auto 12% 15% 15% 15% 10%;
}

.text-truncate {
Expand All @@ -391,22 +391,22 @@

td[aria-colindex="5"],
th[aria-colindex="5"] {
padding-left: 35px;
padding-left: 20px;
}

td[aria-colindex="5"] > div {

&:before,
&:after {
left: calc(-35px - 10px);
left: calc(-20px - 10px);
}
}

td[aria-colindex="5"] > div > div {

&:before,
&:after {
left: calc(-35px - 10px);
left: calc(-20px - 10px);
}
}
}
Expand Down

0 comments on commit 3d8b7da

Please sign in to comment.