diff --git a/static/tailwind.css b/static/tailwind.css index 7b51400..950e279 100644 --- a/static/tailwind.css +++ b/static/tailwind.css @@ -562,10 +562,6 @@ video { position: relative; } -.-bottom-32 { - bottom: -8rem; -} - .bottom-1 { bottom: 0.25rem; } @@ -594,6 +590,10 @@ video { margin: 0.25rem; } +.m-2 { + margin: 0.5rem; +} + .mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; @@ -642,6 +642,10 @@ video { margin-right: 1rem; } +.mt-20 { + margin-top: 5rem; +} + .mt-4 { margin-top: 1rem; } @@ -678,8 +682,8 @@ video { height: 100%; } -.w-24 { - width: 6rem; +.w-32 { + width: 8rem; } .w-48 { diff --git a/views/components/components.templ b/views/components/components.templ index a1646c4..d80c0f0 100644 --- a/views/components/components.templ +++ b/views/components/components.templ @@ -64,7 +64,7 @@ templ BoostButton(label, to string) { tabindex="0" role="button" class="transition ease-in-out - px-1 outline outline-1 + m-2 px-1 outline outline-1 outline-slate-600 hover:outline-2 hover:bg-green-300 duration-300 active:bg-green-600 @@ -81,6 +81,7 @@ templ GetButton(label, to, target, swap string) { tabindex="0" role="button" class="transition ease-in-out + m-2 px-1 outline outline-1 outline-slate-600 hover:outline-2 hover:bg-green-300 duration-300 @@ -103,7 +104,7 @@ templ SubmitFormButton(label string) { type="submit" value={ label } class="transition ease-in-out - px-1 outline outline-1 + m-2 px-1 outline outline-1 outline-slate-600 hover:outline-2 hover:bg-green-300 duration-300 active:bg-green-600 diff --git a/views/components/components_templ.go b/views/components/components_templ.go index 48c6ef2..8f405e6 100644 --- a/views/components/components_templ.go +++ b/views/components/components_templ.go @@ -199,7 +199,7 @@ func BoostButton(label, to string) templ.Component { var_7 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, err = templBuffer.WriteString("") + _, err = templBuffer.WriteString("\" class=\"transition ease-in-out\n m-2 px-1 outline outline-1 \n outline-slate-600 hover:outline-2 \n hover:bg-green-300 duration-300\n active:bg-green-600\n focus:outline-2\n hover:cursor-pointer\">") if err != nil { return err } diff --git a/views/pages/bin.templ b/views/pages/bin.templ index 341a693..50b4352 100644 --- a/views/pages/bin.templ +++ b/views/pages/bin.templ @@ -27,8 +27,8 @@ templ BinPartial(file models.File) {

{ file.Description }

@utils.HighlightText(file.Data, file.Language, "")
-
-
+
+
} +
diff --git a/views/pages/bin_templ.go b/views/pages/bin_templ.go index 50708cc..9e6bc4d 100644 --- a/views/pages/bin_templ.go +++ b/views/pages/bin_templ.go @@ -111,7 +111,7 @@ func BinPartial(file models.File) templ.Component { if err != nil { return err } - _, err = templBuffer.WriteString("
") + _, err = templBuffer.WriteString("
") if err != nil { return err }