Skip to content
Permalink
Browse files
add no-arrow class
  • Loading branch information
chinchang committed Oct 1, 2021
1 parent d0726f4 commit 6c97c6eee6f9c27e475b399d2d7401eeeb5e4660
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
@@ -327,6 +327,10 @@ <h3>Extra</h3>
<a class="hint--top hint--rounded" aria-label="We have rounded corners for you">Hmm...So you don't like sharp edges?</a>
</p>

<p>
<a class="hint--top hint--no-arrow" aria-label="Just the tip!">You can omit the arrow too.</a>
</p>

<h3>Effects</h3>

<p>
@@ -31,4 +31,12 @@
text-shadow: initial;
box-shadow: initial;
}
}
}

// Remove shadows from tooltips.
.#{$hintPrefix}no-arrow {
&:before {
display: none;
}
}

0 comments on commit 6c97c6e

Please sign in to comment.