From be0cd1dfc2bca67ee543cb20d493f0d16397b585 Mon Sep 17 00:00:00 2001 From: Siddharth Varshney Date: Wed, 25 Mar 2020 01:50:57 +0530 Subject: [PATCH] css: Use SCSS nesting for `.show-integral` in portico.scss. --- static/styles/portico/portico.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/styles/portico/portico.scss b/static/styles/portico/portico.scss index 0c6c30887e..fb9fd18e72 100644 --- a/static/styles/portico/portico.scss +++ b/static/styles/portico/portico.scss @@ -358,13 +358,13 @@ img.screenshot { .show-integral { position: relative; -} -.show-integral:hover::after { - content: "dx"; - font-weight: normal; - font-style: italic; - font-size: 70%; + &:hover::after { + content: "dx"; + font-weight: normal; + font-style: italic; + font-size: 70%; + } } .integration {