Преглед на файлове

Add gap and row_gap to style_trait_methods

Rasmus Lövegren преди 3 години
родител
ревизия
5f4a724
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      packages/html/src/global_attributes.rs

+ 6 - 0
packages/html/src/global_attributes.rs

@@ -399,6 +399,9 @@ pub trait GlobalAttributes {
         /// Specify the font weight of the text.
         font_weight: "font-weight",
 
+        /// Sets gaps (gutters) between rows and columns. Shorthand for row_gap and column_gap.
+        gap: "gap",
+
         /// Specify the height of an element.
         height: "height",
 
@@ -530,6 +533,9 @@ pub trait GlobalAttributes {
 
         /// Specify the location of the right edge of the positioned element.
         right: "right",
+        
+        /// Specifies the gap between the rows in a multi_column element.
+        row_gap: "row-gap",
 
         /// Specifies the length of the tab character.
         tab_size: "tab-size",