Commit 29003150 authored by Gilang Gumilar's avatar Gilang Gumilar

Use bootstrap utils

parent 63ae88fe
...@@ -70,10 +70,10 @@ export default { ...@@ -70,10 +70,10 @@ export default {
> >
<div id="merge-requests" class="card card-slim mt-3"> <div id="merge-requests" class="card card-slim mt-3">
<div class="card-header"> <div class="card-header">
<div class="card-title mt-0 mb-0 h5 merge-requests-title"> <div class="card-title mt-0 mb-0 h5 merge-requests-title position-relative">
<a <a
id="user-content-related-merge-requests" id="user-content-related-merge-requests"
class="anchor" class="anchor position-absolute text-decoration-none"
href="#related-merge-requests" href="#related-merge-requests"
aria-hidden="true" aria-hidden="true"
></a> ></a>
......
...@@ -286,24 +286,20 @@ ul.related-merge-requests > li { ...@@ -286,24 +286,20 @@ ul.related-merge-requests > li {
} }
.issue-details { .issue-details {
.card-title, { .card-title {
position: relative;
a.anchor { a.anchor {
left: -16px; left: -16px;
top: 4px; top: 4px;
position: absolute;
text-decoration: none;
outline: none; outline: none;
&::after { &::after {
content: image-url('icon_anchor.svg'); content: image-url('icon_anchor.svg');
visibility: hidden; @include invisible(hidden);
} }
} }
&:hover > a.anchor::after { &:hover > a.anchor::after {
visibility: visible; @include invisible(visible);
} }
} }
} }
...@@ -117,10 +117,10 @@ export default { ...@@ -117,10 +117,10 @@ export default {
<div id="related-issues" class="related-issues-block"> <div id="related-issues" class="related-issues-block">
<div class="card card-slim"> <div class="card card-slim">
<div :class="{ 'panel-empty-heading border-bottom-0': !hasBody }" class="card-header"> <div :class="{ 'panel-empty-heading border-bottom-0': !hasBody }" class="card-header">
<h3 class="card-title mt-0 mb-0 h5"> <h3 class="card-title mt-0 mb-0 h5 position-relative">
<a <a
id="user-content-related-issues" id="user-content-related-issues"
class="anchor" class="anchor position-absolute text-decoration-none"
href="#related-issues" href="#related-issues"
aria-hidden="true" aria-hidden="true"
></a> ></a>
......
Markdown is supported
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