From ca55b43e7c52d4902e00ca49cf78524ac09e9b32 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Fri, 13 Nov 2015 12:24:50 +0100 Subject: [PATCH] Deletes text-transform for debates titles --- app/assets/stylesheets/participation.scss | 16 +++++++++++----- .../debates/_featured_debates_static.html.erb | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 800e38119..a223dbb13 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -933,6 +933,12 @@ .panel h3 a { color: #0D3F54; + + text-transform: none; + + &:first-letter { + text-transform: none; + } } .info, .info a { @@ -949,6 +955,11 @@ .panel h3 a { color: $text; + text-transform: lowercase; + + &:first-letter { + text-transform: uppercase; + } } .info { @@ -981,11 +992,6 @@ display: block; font-size: rem-calc(14); line-height: $line-height; - text-transform: lowercase; - - &:first-letter { - text-transform: uppercase; - } } } } diff --git a/app/views/debates/_featured_debates_static.html.erb b/app/views/debates/_featured_debates_static.html.erb index d39bfdd4d..9910901b1 100644 --- a/app/views/debates/_featured_debates_static.html.erb +++ b/app/views/debates/_featured_debates_static.html.erb @@ -27,7 +27,7 @@

- <%= link_to "#TúPreguntas: Carlos Sánchez Mato, concejal de economía y hacienda.", "https://decide.madrid.es/debates/4298" %>

+ <%= link_to "#TúPreguntas: Carlos Sánchez Mato, concejal de Economía y Hacienda.", "https://decide.madrid.es/debates/4298" %>
<%= link_to "Carlos Sánchez", "https://decide.madrid.es/users/13"%>