Browse Source

fix(webapp): highlight save button on dirty rows, fixes #485

Peter Thomassen 1 year ago
parent
commit
fa94d179db
2 changed files with 3 additions and 6 deletions
  1. 3 0
      www/webapp/src/views/CrudList.vue
  2. 0 6
      www/webapp/src/views/CrudListToken.vue

+ 3 - 0
www/webapp/src/views/CrudList.vue

@@ -702,6 +702,9 @@ export default {
 
 <!-- Add "scoped" attribute to limit CSS to this component only -->
 <style scoped>
+  >>> tr:not(.v-data-table__empty-wrapper) td {
+    vertical-align: top;
+  }
   /* If this is on tr instead of td, it doesn't work for the first one */
   >>> tr.successFade td {
     animation: successFade 1s;

+ 0 - 6
www/webapp/src/views/CrudListToken.vue

@@ -163,9 +163,3 @@ export default {
   },
 };
 </script>
-
-<style scoped>
-    >>> td {
-        vertical-align: top;
-    }
-</style>