mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Fix documentation image headers.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
@page getting-started Getting Started
|
@page getting-started Getting Started
|
||||||
@tableofcontents
|
@tableofcontents
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
# Install FTXUI
|
# Install FTXUI
|
||||||
|
|
||||||
|
@@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
window.addEventListener('DOMContentLoaded', function () {
|
window.addEventListener('DOMContentLoaded', function () {
|
||||||
document.querySelectorAll(".headertitle").forEach(div => {
|
document.querySelectorAll(".headertitle").forEach(div => {
|
||||||
|
|
||||||
|
// Hide progressively the title.
|
||||||
if (div.textContent != "Getting Started" &&
|
if (div.textContent != "Getting Started" &&
|
||||||
div.textContent != "Installation" &&
|
div.textContent != "Installation" &&
|
||||||
div.textContent != "Modules" &&
|
div.textContent != "Modules" &&
|
||||||
@@ -35,8 +37,9 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
div.style.display = "none";
|
div.style.display = "none";
|
||||||
|
|
||||||
|
// Show progressively the image.
|
||||||
const img = document.querySelector("img.inline");
|
const img = document.querySelector("img.inline");
|
||||||
img.style.transition = "all 1.0s ease-in-out";
|
|
||||||
img.style.maxHeight = "40vh";
|
img.style.maxHeight = "40vh";
|
||||||
img.style.maxWidth = "100%";
|
img.style.maxWidth = "100%";
|
||||||
img.style.objectFit = "contain";
|
img.style.objectFit = "contain";
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
@page installation Installation
|
@page installation Installation
|
||||||
@tableofcontents
|
@tableofcontents
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# Modules {#modules}
|
# Modules {#modules}
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
FTXUI is organized into three modules, each building upon the previous:
|
FTXUI is organized into three modules, each building upon the previous:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user