Update cardv2 for mobile layouts (#1849)

This commit is contained in:
nitrohorse 2020-04-24 18:19:39 -07:00 committed by GitHub
parent 6f0cedfcc3
commit 18aacfcb94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -61,7 +61,7 @@
{% endif %}
</p>
<div class="d-flex justify-content-between flex-column flex-md-row align-items-start align-items-md-center">
<div class="d-flex flex-shrink-0 mr-1">
<div class="flow-root flex-shrink-0 mr-1">
<a
href="{{include.website}}"
rel="noopener"
@ -82,7 +82,7 @@
<a
href="{{include.tor}}"
rel="noopener"
class="hover-text-decoration-none mt-1 mr-1"
class="btn icon-btn hover-text-decoration-none mt-1 mr-1"
data-toggle="tooltip"
data-placement="bottom"
data-original-title="Requires specific software to access: torproject.org">
@ -93,7 +93,7 @@
<a
href="{{include.i2p}}"
rel="noopener"
class="hover-text-decoration-none mt-1 mr-1"
class="btn icon-btn hover-text-decoration-none mt-1 mr-1"
data-toggle="tooltip"
data-placement="bottom"
data-original-title="Requires specific software to access: geti2p.net">

View File

@ -219,7 +219,13 @@ h2, h3:not(.h5), h4, h5 {
background: darken($tor, 5%);
}
.icon-btn {
padding: 0px;
}
.flow-root {
display: flow-root;
}
/*
* Bootstrap 4.2+ features