Skip to content

Commit

Permalink
Fix small layout bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
uittenbroekrobbert committed Sep 20, 2024
1 parent 55681b5 commit 038a2f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
<div x-data="{ modalOpen: false }"
@keydown.escape.window="modalOpen = false"
class="relative z-50 w-auto h-auto">
<!-- <button id="modal-button" @click="modalOpen=true" class="inline-flex items-center justify-center h-10 px-4 py-2 text-sm font-medium transition-colors bg-white border rounded-md hover:bg-neutral-100 active:bg-white focus:bg-white focus:outline-none focus:ring-2 focus:ring-neutral-200/60 focus:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none">Open</button>-->
<!-- display none is a quick hack, we need to call the right javascript function -->
<button style="display: none" id="modal-button" @click="modalOpen=true" class="inline-flex items-center justify-center h-10 px-4 py-2 text-sm font-medium transition-colors bg-white border rounded-md hover:bg-neutral-100 active:bg-white focus:bg-white focus:outline-none focus:ring-2 focus:ring-neutral-200/60 focus:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none">Open</button>
<template x-teleport="body">
<div x-show="modalOpen" class="fixed top-0 left-0 z-[99] flex items-center justify-center w-screen h-screen" x-cloak>
<div x-show="modalOpen"
Expand Down
2 changes: 1 addition & 1 deletion docs/techradar.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function drawDependencyFlow(technologies) {
}

function getPathPrefix() {
let pathPrefix = "";
let pathPrefix = "/docs/";
let urlPaths = location.pathname.split('/');
if (urlPaths.length >= 1 && urlPaths[1] === "rig-techradar") {
pathPrefix = "/rig-techradar/"
Expand Down

0 comments on commit 038a2f9

Please sign in to comment.