style: bootstrap tooltip added to fix text visibility issue (#30731)
This commit is contained in:
@@ -71,25 +71,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.legacy-tooltip {
|
||||
position: absolute;
|
||||
z-index: 1070;
|
||||
display: none;
|
||||
margin: 0;
|
||||
line-height: 1.55556;
|
||||
font-family: "Inter","Helvetica Neue",Arial,sans-serif;
|
||||
background: white;
|
||||
color: black;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
// Layout control for discussion modules that does not apply to the discussion board
|
||||
.discussion-module {
|
||||
.discussion {
|
||||
|
||||
@@ -12,9 +12,7 @@ from django.utils.translation import ugettext as _
|
||||
<div class="d-flex w-100 small align-items-center">
|
||||
${_("Welcome to the new discussions experience. Please share your feedback.")}
|
||||
<a href="${legacy_url}" class="ml-2 text-white">
|
||||
<i class="fa fa-info-circle">
|
||||
<span class="legacy-tooltip">${_("View legacy experience")}</span>
|
||||
</i>
|
||||
<i class="fa fa-info-circle" data-toggle="tooltip" data-placement="bottom" title="${_('View legacy experience')}"> </i>
|
||||
</a>
|
||||
</div>
|
||||
% else:
|
||||
|
||||
Reference in New Issue
Block a user