Fossil SCM

Remove a dead form field. Consolidate two partially-duplicated CSS rules.

stephan 2026-06-14 06:24 UTC forum-editor-2026
Commit 9ea044d982d4bc46b523bce73c41a29877bf09c6352ffcb21818335e4e11376c
2 files changed +2 -3 -1
+2 -3
--- src/default.css
+++ src/default.css
@@ -2075,13 +2075,10 @@
20752075
background-color: #e1f5fe;
20762076
color: black;
20772077
border-color: #03a9f4;
20782078
}
20792079
body.fossil-dark-style .Attacher .attach-dropzone.dragover{
2080
- border-color: #03a9f4;
2081
-}
2082
-body.fossil-dark-style .Attacher .attach-dropzone.dragover{
20832080
background-color: #e1f5fe;
20842081
border-color: #03a9f4;
20852082
}
20862083
.Attacher .thumbnail {
20872084
max-width: 10em;
@@ -2129,10 +2126,12 @@
21292126
cursor: pointer;
21302127
flex-grow: 2;
21312128
line-height: initial/*work around an inherited alignment quirk*/;
21322129
}
21332130
2131
+/* .animate-X and their associated @keyframes are used by various
2132
+ widgets to animate their comings and goings. */
21342133
.animate-entrance {
21352134
animation: slideFadeIn 0.25s linear forwards;
21362135
transform-origin: top;
21372136
overflow: hidden /*prevent content bleeding during expansion*/;
21382137
}
21392138
--- src/default.css
+++ src/default.css
@@ -2075,13 +2075,10 @@
2075 background-color: #e1f5fe;
2076 color: black;
2077 border-color: #03a9f4;
2078 }
2079 body.fossil-dark-style .Attacher .attach-dropzone.dragover{
2080 border-color: #03a9f4;
2081 }
2082 body.fossil-dark-style .Attacher .attach-dropzone.dragover{
2083 background-color: #e1f5fe;
2084 border-color: #03a9f4;
2085 }
2086 .Attacher .thumbnail {
2087 max-width: 10em;
@@ -2129,10 +2126,12 @@
2129 cursor: pointer;
2130 flex-grow: 2;
2131 line-height: initial/*work around an inherited alignment quirk*/;
2132 }
2133
 
 
2134 .animate-entrance {
2135 animation: slideFadeIn 0.25s linear forwards;
2136 transform-origin: top;
2137 overflow: hidden /*prevent content bleeding during expansion*/;
2138 }
2139
--- src/default.css
+++ src/default.css
@@ -2075,13 +2075,10 @@
2075 background-color: #e1f5fe;
2076 color: black;
2077 border-color: #03a9f4;
2078 }
2079 body.fossil-dark-style .Attacher .attach-dropzone.dragover{
 
 
 
2080 background-color: #e1f5fe;
2081 border-color: #03a9f4;
2082 }
2083 .Attacher .thumbnail {
2084 max-width: 10em;
@@ -2129,10 +2126,12 @@
2126 cursor: pointer;
2127 flex-grow: 2;
2128 line-height: initial/*work around an inherited alignment quirk*/;
2129 }
2130
2131 /* .animate-X and their associated @keyframes are used by various
2132 widgets to animate their comings and goings. */
2133 .animate-entrance {
2134 animation: slideFadeIn 0.25s linear forwards;
2135 transform-origin: top;
2136 overflow: hidden /*prevent content bleeding during expansion*/;
2137 }
2138
--- src/forum.c
+++ src/forum.c
@@ -2263,11 +2263,10 @@
22632263
forum_post_widget(0, zMimetype, zContent);
22642264
}
22652265
if( !isDelete ){
22662266
@ <input type="submit" name="preview" value="Preview">
22672267
}
2268
- @ <input type="hidden" name="legacy" value="1">
22692268
@ <input type="submit" name="cancel" value="Cancel">
22702269
if( isDelete || (bPreview && !fossil_all_whitespace(zContent)) ){
22712270
if( !iClosed || g.perm.Admin ) {
22722271
@ <input type="submit" name="submit" value="Submit">
22732272
}
22742273
--- src/forum.c
+++ src/forum.c
@@ -2263,11 +2263,10 @@
2263 forum_post_widget(0, zMimetype, zContent);
2264 }
2265 if( !isDelete ){
2266 @ <input type="submit" name="preview" value="Preview">
2267 }
2268 @ <input type="hidden" name="legacy" value="1">
2269 @ <input type="submit" name="cancel" value="Cancel">
2270 if( isDelete || (bPreview && !fossil_all_whitespace(zContent)) ){
2271 if( !iClosed || g.perm.Admin ) {
2272 @ <input type="submit" name="submit" value="Submit">
2273 }
2274
--- src/forum.c
+++ src/forum.c
@@ -2263,11 +2263,10 @@
2263 forum_post_widget(0, zMimetype, zContent);
2264 }
2265 if( !isDelete ){
2266 @ <input type="submit" name="preview" value="Preview">
2267 }
 
2268 @ <input type="submit" name="cancel" value="Cancel">
2269 if( isDelete || (bPreview && !fossil_all_whitespace(zContent)) ){
2270 if( !iClosed || g.perm.Admin ) {
2271 @ <input type="submit" name="submit" value="Submit">
2272 }
2273

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button