Skip to content
Snippets Groups Projects
Commit b5a6ef13 authored by Gregor Gawol's avatar Gregor Gawol Committed by Robert Lange
Browse files

refs #18043 [finc: post-BARF-VF5.1 fixes] fixes delete button in fav lists

* adds del-btn class for SCSS to work
* refines SCSS for dropdown to open in correct position
parent 4956aecb
No related merge requests found
......@@ -587,11 +587,13 @@ select {
a.toggle {
color: inherit;
text-decoration: inherit;
&:active,
&:focus,
&:hover {
text-decoration: inherit;
}
&::after {
font-family: 'FontAwesome';
content: $fa-var-angle-down;
......@@ -604,9 +606,11 @@ span.notation ul {
@media (max-width: $screen-md-min) {
padding-inline-start: 0;
}
li {
list-style-type: none;
}
li:before {
margin-right: 0.5em;
font-family: 'FontAwesome';
......@@ -2523,6 +2527,28 @@ footer ul {
// Bookbag - END
// Result List
.result-links {
// Favorites list in MyAccount
.edit.tool,
.del-button {
a {
margin-top: 1em;
@media (max-width: $screen-sm-max) {
margin-top: 0;
}
}
li a {
margin-top: 0;
}
}
}
// Result List - END
// Translate feature (Admin panel)
#set-translation-form {
margin-top: 2em;
......@@ -2755,6 +2781,15 @@ input {
}
}
// Delete dropdown in favorites list
.open > .dropdown-menu {
.template-dir-myresearch.template-name-mylist .result-links & {
float: none;
position: relative;
}
}
// AMSL
.template-dir-amsl.template-name-sources-list {
......
......@@ -213,7 +213,7 @@ if ($cover):
?>
<div class="dropdown">
<i class="fa fa-fw fa-trash-o" aria-hidden="true"></i>
<a class="dropdown-toggle" id="<?= $dLabel ?>"
<a class="dropdown-toggle del-button" id="<?= $dLabel ?>"
role="button" data-toggle="dropdown"
href="<?= $deleteUrlGet ?>">
<?= $this->transEsc('Delete') ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment