Commit db7cf8cb authored by Pietro Albini's avatar Pietro Albini

utils: fix .text-* classes not applying to <p>

parent 2be1c6b6
...@@ -14,17 +14,19 @@ ...@@ -14,17 +14,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
.text-center { @mixin text-align($align) {
text-align: center; .text-$align {
} text-align: $align;
.text-left { p {
text-align: left; text-align: $align;
}
}
} }
.text-right { @include text-align(center);
text-align: right; @include text-align(left);
} @include text-align(right);
.text-green { .text-green {
color: $color_green; color: $color_green;
......
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