Merge pull request #4352 from tgxworld/full_width_for_polls

UX: Polls should take up full width of post's container.
This commit is contained in:
Jeff Atwood 2016-07-28 11:59:08 -07:00 committed by GitHub
commit d9289b6da9
2 changed files with 8 additions and 6 deletions

View File

@ -7,7 +7,7 @@ $option-background-selected: #dbffdb;
$option-shadow: dark-light-diff($option-background, $primary, 10%, -10%);
div.poll {
margin: 10px 0px;
border: 1px solid $border-color;
@include unselectable;

View File

@ -1,10 +1,12 @@
div.poll {
display: table;
width: 500px;
max-width: 500px;
min-width: 500px;
width: 100%;
box-sizing: border-box;
.poll-info {
width: 150px;
min-width: 150px;
width: 100%;
display: table-cell;
border-left: 1px solid $border-color;
@ -19,8 +21,8 @@ div.poll {
.poll-container {
display: table-cell;
width: 330px;
max-width: 330px;
min-width: 330px;
width: 100%;
}
.poll-buttons {