You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2021/03/18 20:02:25 UTC
[accumulo-website] branch main updated: Fix ApacheCon event image
generation
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/main by this push:
new 66be02b Fix ApacheCon event image generation
66be02b is described below
commit 66be02b897339493c2d3e075cbcc184b3b9221cd
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Mar 18 15:57:56 2021 -0400
Fix ApacheCon event image generation
* Use bootstrap classes instead of a custom style for the event image
presentation (previously didn't work, but was fixed by @Humbedooh)
---
css/accumulo.scss | 12 ------------
index.html | 2 +-
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/css/accumulo.scss b/css/accumulo.scss
index ff9fef7..6579cc9 100644
--- a/css/accumulo.scss
+++ b/css/accumulo.scss
@@ -249,15 +249,3 @@ a.prop {
margin-right: auto;
display: block;
}
-
-a.acevent > img {
- /*
- * modeled after bootstrap's center-block and img-responsive
- * which can't be added to the img element directly because
- * it is inserted dynamically by the ASF events javascript
- */
- display: block;
- margin-right: auto;
- margin-left: auto;
- max-width: 100%;
-}
diff --git a/index.html b/index.html
index a0f677d..3bc3ccd 100644
--- a/index.html
+++ b/index.html
@@ -60,7 +60,7 @@ skiph1fortitle: true
</div>
<div class="row">
<div class="col-sm-12">
- <a class="acevent" data-format="wide" data-mode="light" data-width="240"></a><br/>
+ <a class="acevent" data-class="img-responsive center-block" data-format="wide" data-mode="light" data-width="240"></a><br/>
<a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo Summit" class="img-responsive center-block" src="{{ site.baseurl }}/images/accumulo-summit-logo.png"/></a>
</div>
</div>