mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
UX: Polls should take up full width of post's container.
This commit is contained in:
parent
85a91c8b81
commit
bb3f4a10f3
2 changed files with 8 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue