aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut
diff options
context:
space:
mode:
Diffstat (limited to 'themes/sourcehut')
-rw-r--r--themes/sourcehut/assets/style.css3
-rw-r--r--themes/sourcehut/mailbox.html7
-rw-r--r--themes/sourcehut/scss/main.scss4
3 files changed, 14 insertions, 0 deletions
diff --git a/themes/sourcehut/assets/style.css b/themes/sourcehut/assets/style.css
index ad19257..7dd94c8 100644
--- a/themes/sourcehut/assets/style.css
+++ b/themes/sourcehut/assets/style.css
@@ -5511,6 +5511,9 @@ body {
.mailbox-container > .row, .message-container > .row {
flex-grow: 1; }
+.mailbox-container form {
+ padding: 10px; }
+
.mailboxes-column {
border-right: 3px #ddd solid;
padding: 0; }
diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html
index 01584b2..315e344 100644
--- a/themes/sourcehut/mailbox.html
+++ b/themes/sourcehut/mailbox.html
@@ -40,6 +40,13 @@
</ul>
</div>
<div class="col-md-10 messages-column">
+ <div class="nav flex-column">
+ <form method="get" action="">
+ <input type="text" name="query" value="{{.Query}}"
+ class="form-control" placeholder="Search">
+ </form>
+ </div>
+
{{if .Messages}}
<ul class="nav flex-column">
{{range .Messages}}
diff --git a/themes/sourcehut/scss/main.scss b/themes/sourcehut/scss/main.scss
index c7f15f9..0b64080 100644
--- a/themes/sourcehut/scss/main.scss
+++ b/themes/sourcehut/scss/main.scss
@@ -43,6 +43,10 @@ body {
}
}
+.mailbox-container form {
+ padding: 10px;
+}
+
.mailboxes-column {
border-right: 3px #ddd solid;
padding: 0;