diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 00:03:05 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 11:38:33 +0100 |
| commit | 5ec42736f3f17e9f5432063b4cc17e6ad9a75713 (patch) | |
| tree | d5c0c0500f913cd694f1ff5d80b3986df7b3f4fa /frontend/src/components/home/SimulationSection.js | |
| parent | bb03ab6a934eaf29cea86e877c4b2024f068dd1c (diff) | |
Use scroll-padding for aligning anchors
This change is one in a series of patches to remove the use of jQuery.
Here, we can utilize the scroll-padding CSS property to align anchors
properly in presence of a fixed top header.
Diffstat (limited to 'frontend/src/components/home/SimulationSection.js')
| -rw-r--r-- | frontend/src/components/home/SimulationSection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/home/SimulationSection.js b/frontend/src/components/home/SimulationSection.js index e7a02068..b0244cb5 100644 --- a/frontend/src/components/home/SimulationSection.js +++ b/frontend/src/components/home/SimulationSection.js @@ -3,7 +3,7 @@ import ScreenshotSection from './ScreenshotSection' const ModelingSection = () => ( <ScreenshotSection - name="simulation" + name="project" title="Datacenter Simulation" imageUrl="/img/screenshot-simulation-zoom.png" caption="Running an experiment in OpenDC" |
