Skip to content

Commit

Permalink
index: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bmndc committed May 30, 2024
1 parent d441ac2 commit 4da7955
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<h1>{{ page.title }}</h1>

<p><strong>Table of Contents</strong></p>
{%-include toc.html html=content-%}
{% include toc.html html=content sanitize=true %}

{{ content }}
5 changes: 0 additions & 5 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ img {
}

#toc {
// Dynamically adjust the size of the 'toc' div to its largest containing item's width and height
display: flow-root;
}

#toc > .header img {
aspect-ratio: 1;
// Undo float: right on header image on small screens
@media (max-width: 800px) {
Expand Down
5 changes: 3 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{% comment %} GitHub.com viewers: please use the Outline button in the top-right corner for ToC! {% endcomment %}
{% include spec.html %}

*Source code [provided by HMD] for B2G, Linux 4.9 kernel and certain LGPL-2.1 licensed libraries used on the 6300 4G can be found in [`leo-v20` branch of this repository]. Note that it doesn't contain proprietary code from third parties and thus cannot be used to compile a fully working KaiOS firmware.*

<div id="toc">
<img align="right" width="450" style="width:450px;visibility:visible" src="assets/img/nokia_6300_4G-emotional-Range.png" alt="Nokia 6300 4G in three colours stacking on top of each other" fetchpriority="high">
<div style="display:flow-root">
<img id="toc" align="right" width="450" style="width:450px;visibility:visible" src="assets/img/nokia_6300_4G-emotional-Range.png" alt="Nokia 6300 4G in three colours stacking on top of each other" fetchpriority="high">

**Table of Contents**
- [Don't buy a counterfeit](#dont-buy-a-counterfeit)
Expand Down

0 comments on commit 4da7955

Please sign in to comment.