Skip to content

Commit

Permalink
fix: responsive hero box (#1361)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarcia360 authored Feb 19, 2025
1 parent d35fecc commit e695e55
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

.. hero-box::
:button_icon: icon-github
:button_style: bold
:button_url: https://github.com/scylladb/sphinx-scylladb-theme
:button_text: Source code
:title: Welcome to ScyllaDB Sphinx Theme documentation
Expand Down
2 changes: 1 addition & 1 deletion sphinx_scylladb_theme/static/css/main.css

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions src/css/components/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,13 @@

.landing__content {
padding: 0 16px;
margin-top: 60px;
}

@media screen and (min-width: $large) {
// .content {
// min-height: calc(100vh - (#{$footer-height} + #{$header-height-large}));
// padding-bottom: 100px;
// width: calc(100% - #{$secondary-side-nav-width});
// }
.landing__content {
margin-top: 0;
}
}

@media screen and (min-width: $xlarge) {
Expand Down
4 changes: 0 additions & 4 deletions src/css/components/_topic-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@
/* Overwrite Foundation */
width: 280px !important;
}

.topic-box--product:nth-last-child(-n + 2) .card {
margin-bottom: 0;
}
}

@media screen and (min-width: $large) {
Expand Down

0 comments on commit e695e55

Please sign in to comment.