Commit b211e9fd by Chris

Merge pull request #7474 from openfun/rmoch/fix_forum_action_button_issue

Fix forum response display issue with long labels on action buttons
parents a57c780a e455c3b7
...@@ -223,3 +223,5 @@ Tim Krones <t.krones@gmx.net> ...@@ -223,3 +223,5 @@ Tim Krones <t.krones@gmx.net>
Linda Liu <lliu@edx.org> Linda Liu <lliu@edx.org>
Alessandro Verdura <finalmente2@tin.it> Alessandro Verdura <finalmente2@tin.it>
Sven Marnach <sven@marnach.net> Sven Marnach <sven@marnach.net>
Richard Moch <richard.moch@gmail.com>
...@@ -196,6 +196,7 @@ ...@@ -196,6 +196,7 @@
&:hover, &:focus { &:hover, &:focus {
border-color: $blue-d2; border-color: $blue-d2;
background-color: $white;
.action-label { .action-label {
color: $blue-d2; color: $blue-d2;
...@@ -216,6 +217,7 @@ ...@@ -216,6 +217,7 @@
&:hover, &:focus { &:hover, &:focus {
border-color: $green-d1; border-color: $green-d1;
background-color: $white;
.action-label { .action-label {
color: $green-d2; color: $green-d2;
...@@ -229,6 +231,7 @@ ...@@ -229,6 +231,7 @@
&:hover, &:focus { &:hover, &:focus {
border-color: $gray; border-color: $gray;
background-color: $white;
.action-icon { .action-icon {
border: 1px solid $gray; border: 1px solid $gray;
...@@ -295,6 +298,7 @@ ...@@ -295,6 +298,7 @@
.action-button, .action-list-item { .action-button, .action-list-item {
.action-label { .action-label {
@include float(left);
.label-checked { .label-checked {
display: none; display: none;
} }
......
...@@ -39,11 +39,13 @@ body.discussion, .discussion-module { ...@@ -39,11 +39,13 @@ body.discussion, .discussion-module {
.response-header-content { .response-header-content {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width: flex-grid(9,12); width: flex-grid(11,12);
} }
.response-header-actions { .response-header-actions {
width: flex-grid(3,12); position: absolute;
@include right($baseline);
top: ($baseline);
@include float(right); @include float(right);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment