diff --git a/core/modules/savers/put.js b/core/modules/savers/put.js index a1ebef4bb..87fe5f710 100644 --- a/core/modules/savers/put.js +++ b/core/modules/savers/put.js @@ -55,7 +55,7 @@ var PutSaver = function(wiki) { callback: function(err,data,xhr) { // Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1 if(!err) { - self.serverAcceptsPuts = xhr.status === 200 && !!xhr.getResponseHeader("dav"); + self.serverAcceptsPuts = xhr.status >= 200 && xhr.status < 300 && !!xhr.getResponseHeader("dav"); } } }); diff --git a/core/ui/AdvancedSearch/Standard.tid b/core/ui/AdvancedSearch/Standard.tid index e6ed18a7a..424d7917f 100644 --- a/core/ui/AdvancedSearch/Standard.tid +++ b/core/ui/AdvancedSearch/Standard.tid @@ -39,6 +39,7 @@ caption: {{$:/language/Search/Standard/Caption}} + <$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$button class="tc-btn-invisible"> <> diff --git a/core/ui/SideBarSegments/search.tid b/core/ui/SideBarSegments/search.tid index 938cedfd1..690210307 100644 --- a/core/ui/SideBarSegments/search.tid +++ b/core/ui/SideBarSegments/search.tid @@ -55,7 +55,7 @@ tags: $:/tags/SideBarSegment <$macrocall $name="keyboard-driven-input" tiddler=<> storeTitle=<> selectionStateTitle=<> refreshTitle="$:/temp/search/refresh" type="search" tag="input" focus={{$:/config/Search/AutoFocus}} focusPopup=<> - class="tc-popup-handle" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=<> + class="tc-tiny-gap-right tc-popup-handle" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=<> inputAcceptActions=<> inputAcceptVariantActions=<> cancelPopups="yes" configTiddlerFilter="[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]"/> diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 4adf116b9..a32a9d9e5 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -71,10 +71,16 @@ $else$ {{$:/themes/tiddlywiki/vanilla/reset}} -*, input[type="search"] { - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; +input[type="search"] { + outline-offset: initial; +} + +button, textarea, input, select { + outline-color: <>; +} + +:-moz-focusring { + outline: 2px solid <>; } /* @@ -157,7 +163,7 @@ code { color: <>; background-color: <>; border: 1px solid <>; - white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}}; + white-space: pre-wrap; padding: 0 3px 2px; border-radius: 3px; font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}}; @@ -293,10 +299,13 @@ form.tc-form-inline { Markdown likes putting code elements inside pre elements */ pre > code { - padding: 0; + display: block; + padding: 0.5em; border: none; + white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}}; background-color: inherit; color: inherit; + overflow-x: auto; } /* @@ -707,7 +716,7 @@ html body.tc-body .tc-btn-rounded:hover svg { } button svg.tc-image-button, button .tc-image-button img { - height: 1em; + height: auto; width: 1em; } @@ -2819,7 +2828,7 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk .tc-plugin-info-sta } .tc-language-chooser .tc-image-button img { - width: 2em; + width: auto; vertical-align: -0.15em; }