You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "dominikriemer (via GitHub)" <gi...@apache.org> on 2023/01/24 19:35:42 UTC

[GitHub] [streampipes] dominikriemer commented on a diff in pull request #1155: remove dependencies and add css for datatable.

dominikriemer commented on code in PR #1155:
URL: https://github.com/apache/streampipes/pull/1155#discussion_r1085827659


##########
ui/src/app/editor/dialog/help/help.component.html:
##########
@@ -16,6 +16,29 @@
   ~
   -->
 
+<style>
+    /* .table {
+        margin: 20px 0;
+        font-size: 0.9em;
+        font-family: sans-serif;
+        min-width: 400px;
+        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
+    } */
+
+    th, td {
+        padding: 15px;
+        text-align: left;
+        border-bottom: 1px solid #ddd;
+    }
+
+    .table tbody tr:hover {
+        font-weight: bold;
+        background-color: #f1ecec;
+    }
+
+    
+</style>
+

Review Comment:
   Styles should be added to the component's scss file (see help.component.scss) and not directly in the HTML. Style tags are typically used in the HTML header section only.
   
   See https://angular.io/guide/component-styles#style-files-in-component-metadata for some info on how styles can be included in Angular components.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org