Use font-variable instead of rem

This commit is contained in:
Jorik Schellekens 2020-04-14 16:45:21 +01:00
parent c921859067
commit 07853f48bb
2 changed files with 8 additions and 1 deletions

View file

@ -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;

View file

@ -26,7 +26,7 @@ a.mx_Pill {
}
.mx_Pill {
padding: 0.3rem;
padding: $font-5px;
}
/* More specific to override `.markdown-body a` text-decoration */