mirror of https://github.com/vector-im/riot-web
Use font-variable instead of rem
parent
c921859067
commit
07853f48bb
|
@ -14,6 +14,13 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
$font-1px: 0.067rem;
|
||||
$font-2px: 0.133rem;
|
||||
$font-3px: 0.200rem;
|
||||
$font-4px: 0.267rem;
|
||||
$font-5px: 0.333rem;
|
||||
$font-6px: 0.400rem;
|
||||
$font-7px: 0.467rem;
|
||||
$font-8px: 0.533rem;
|
||||
$font-9px: 0.600rem;
|
||||
$font-10px: 0.667rem;
|
||||
|
|
|
@ -26,7 +26,7 @@ a.mx_Pill {
|
|||
}
|
||||
|
||||
.mx_Pill {
|
||||
padding: 0.3rem;
|
||||
padding: $font-5px;
|
||||
}
|
||||
|
||||
/* More specific to override `.markdown-body a` text-decoration */
|
||||
|
|
Loading…
Reference in New Issue