Skip to content

Commit

Permalink
Add more options for Grid media left/right
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Aug 7, 2024
1 parent 4165d00 commit 9a5c0db
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions framework/elements/grid/grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@
<option value="2">1/6</option>
<option value="5">5/12</option>
<option value="7">7/12</option>
<option value="1">1/12</option>
<option value="auto">auto</option>
</field>
<field astroidgroup="card_options" ngShow="[media_column_responsive]=='xl' AND ([media_position]=='left' OR [media_position]=='right')" type="astroidlist" name="xl_column_media" label="ASTROID_WIDGET_XL_COLUMN_IMAGE_WIDTH" default="">
<option value="">JGLOBAL_INHERIT</option>
Expand All @@ -294,6 +296,8 @@
<option value="2">1/6</option>
<option value="5">5/12</option>
<option value="7">7/12</option>
<option value="1">1/12</option>
<option value="auto">auto</option>
</field>
<field astroidgroup="card_options" ngShow="[media_column_responsive]=='lg' AND ([media_position]=='left' OR [media_position]=='right')" type="astroidlist" name="lg_column_media" label="ASTROID_WIDGET_LG_COLUMN_IMAGE_WIDTH" default="4">
<option value="">JGLOBAL_INHERIT</option>
Expand All @@ -306,6 +310,8 @@
<option value="2">1/6</option>
<option value="5">5/12</option>
<option value="7">7/12</option>
<option value="1">1/12</option>
<option value="auto">auto</option>
</field>
<field astroidgroup="card_options" ngShow="[media_column_responsive]=='md' AND ([media_position]=='left' OR [media_position]=='right')" type="astroidlist" name="md_column_media" label="ASTROID_WIDGET_MD_COLUMN_IMAGE_WIDTH" default="12">
<option value="">JGLOBAL_INHERIT</option>
Expand All @@ -318,6 +324,8 @@
<option value="2">1/6</option>
<option value="5">5/12</option>
<option value="7">7/12</option>
<option value="1">1/12</option>
<option value="auto">auto</option>
</field>
<field astroidgroup="card_options" ngShow="[media_column_responsive]=='sm' AND ([media_position]=='left' OR [media_position]=='right')" type="astroidlist" name="sm_column_media" label="ASTROID_WIDGET_SM_COLUMN_IMAGE_WIDTH" default="12">
<option value="">JGLOBAL_INHERIT</option>
Expand All @@ -330,6 +338,8 @@
<option value="2">1/6</option>
<option value="5">5/12</option>
<option value="7">7/12</option>
<option value="1">1/12</option>
<option value="auto">auto</option>
</field>
<field astroidgroup="card_options" ngShow="[media_column_responsive]=='xs' AND ([media_position]=='left' OR [media_position]=='right')" type="astroidlist" name="xs_column_media" label="ASTROID_WIDGET_XS_COLUMN_IMAGE_WIDTH" default="12">
<option value="">JGLOBAL_INHERIT</option>
Expand All @@ -342,6 +352,8 @@
<option value="2">1/6</option>
<option value="5">5/12</option>
<option value="7">7/12</option>
<option value="1">1/12</option>
<option value="auto">auto</option>
</field>
<field astroidgroup="card_options" ngShow="[media_position]=='left' OR [media_position]=='right'" name="vertical_middle" type="astroidradio" astroid-switch="true" default="0" label="ASTROID_WIDGET_VERTICAL_MIDDLE"/>
<field astroidgroup="card_options" name="enable_grid_match" type="astroidradio" astroid-switch="true" default="0" label="ASTROID_WIDGET_ENABLE_GRID_MATCH"/>
Expand Down

0 comments on commit 9a5c0db

Please sign in to comment.