فهرست منبع

Drop the undefined span.inline class from the notes row markup

The promoted-goal link and the done-note dash render as plain spans; only form.inline is a styled class in app.css.
saddle-Clanker-Saddle 1 ماه پیش
والد
کامیت
d51fee802f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/pages/home.html

+ 2 - 2
src/pages/home.html

@@ -301,7 +301,7 @@
                                   stm-text="note.body">body</span></td>
                         <td class="muted" stm-text="note.created_display">when</td>
                         <td>
-                            <span class="inline" stm-if="note.goal_id > 0">
+                            <span stm-if="note.goal_id > 0">
                                 <span class="goal-icon">🎯</span>
                                 <a stm-attribute.href="'/goals/' + note.goal_id"
                                    stm-text="note.goal_title">goal</a>
@@ -317,7 +317,7 @@
                                        placeholder="goal/branch" size="14">
                                 <button type="submit" class="primary">Create goal</button>
                             </form>
-                            <span class="muted inline" stm-if="note.goal_id == 0 && note.done">—</span>
+                            <span class="muted" stm-if="note.goal_id == 0 && note.done">—</span>
                             <form class="inline" stm-action="note.delete">
                                 <button type="submit">Delete</button>
                             </form>