leptos-pdf 0.8.1

Leptos components for rendering and viewing PDFs in the browser.
Documentation
.leptos-pdf-document {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leptos-pdf-text-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.leptos-pdf-text-fragment {
    position: absolute;
    color: transparent;
}

.leptos-pdf-text-layer ::selection {
    color: transparent;
    background-color: #3368d16e;
}