blur overlay on iframe
This commit is contained in:
parent
930b3dd1d3
commit
62a141ff6c
1 changed files with 5 additions and 1 deletions
|
|
@ -110,11 +110,15 @@ func snippetView(ctx *h.RequestContext, snippet *Snippet) *h.Element {
|
||||||
h.Class("h-full min-h-[800px] w-[50vw]"),
|
h.Class("h-full min-h-[800px] w-[50vw]"),
|
||||||
),
|
),
|
||||||
h.A(
|
h.A(
|
||||||
h.Class("absolute top-0 left-0 w-full h-full bg-transparent cursor-pointer"),
|
h.Class("absolute top-0 left-0 w-full h-full bg-gray-800 bg-opacity-50 backdrop-blur-[2px] flex items-center justify-center cursor-pointer"),
|
||||||
h.Href(
|
h.Href(
|
||||||
snippet.externalRoute,
|
snippet.externalRoute,
|
||||||
),
|
),
|
||||||
h.Target("_blank"),
|
h.Target("_blank"),
|
||||||
|
h.Span(
|
||||||
|
h.Text("Click to view"),
|
||||||
|
h.Class("text-white text-lg font-bold"),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
h.Div(
|
h.Div(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue