Explorar o código

Fix skills' layout with em units instead of px

theenglishway (time) %!s(int64=2) %!d(string=hai) anos
pai
achega
a42800366b
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      lib/views/skill.ex
  2. 1 1
      lib/views/work.ex

+ 1 - 1
lib/views/skill.ex

@@ -23,7 +23,7 @@ defmodule CvGenView.Skill do
     }
 
     #skills .keywords > li {
-      padding: 3px 7px;
+      padding: 0.3em 0.6em;
       font-size: 0.7em;
       font-weight: 700;
       color: #fff;

+ 1 - 1
lib/views/work.ex

@@ -112,7 +112,7 @@ defmodule CvGenView.Work do
     }
 
     #work .skills > li {
-      padding: 3px 7px;
+      padding: 0.3em 0.6em;
       font-size: 0.7em;
       font-weight: 700;
       color: #fff;