Commit db7cf8cb authored by Pietro Albini's avatar Pietro Albini

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

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