fix: lead the bottom position indicator with one margin column
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ module Vamp
|
||||
chrome_name!(name)
|
||||
style = chrome_hash!(value).to_h do |option, item|
|
||||
case option
|
||||
when "padding", "margin"
|
||||
when "padding", "margin", "leading_margin", "trailing_margin"
|
||||
unless item.is_a?(Integer) && item.between?(0, 64)
|
||||
raise ArgumentError, "#{option} must be an Integer between 0 and 64"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user