From 527f287826d3a80c16e53d6bd8dbfa5aad1b352a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 3 Nov 2018 17:46:17 +0100 Subject: [PATCH] css: fix vertical alignment of notification checkbox This is usually a pain to vertically align without additional markup. The proposed solution happens to be the shortest solution I know of, but it may be outdated. --- isso/css/isso.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/isso/css/isso.css b/isso/css/isso.css index 63737b2..596f11e 100644 --- a/isso/css/isso.css +++ b/isso/css/isso.css @@ -178,6 +178,15 @@ border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } +.isso-postbox > .form-wrapper input[type=checkbox] { + vertical-align: middle; + position: relative; + bottom: 1px; + margin-left: 0; +} +.isso-postbox > .form-wrapper .notification-section { + padding-top: .3em; +} #isso-thread .textarea:focus, #isso-thread input:focus { border-color: rgba(0, 0, 0, 0.8);