Skip to content

Commit

Permalink
Keep CSS name the same
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Jul 12, 2024
1 parent 46ad239 commit 759a59a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_static/button-width.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.badge {
.colabbadge {
height: 50px !important;
width: auto !important;
}
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
{% set path = "docs/" ~ env.docname ~ ".ipynb" %}
.. image:: {{ badge }}
:class: badge
:class: colabbadge
:alt: Open in Colab
:target: {{ host }}/github/{{ repo }}/blob/{{ branch }}/{{ path }}
Expand All @@ -154,7 +154,7 @@
{% set repo_url = repo_url | replace(":", "%3A") | replace("/", "%2F") %}
.. image:: {{ badge }}
:class: badge
:class: colabbadge
:alt: Open in Studio
:target: {{ host }}?repo_url={{ repo_url }}
"""
Expand Down

0 comments on commit 759a59a

Please sign in to comment.