mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
[Fixes #5819] Fixing column element default size
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Orchard.Layouts.Elements {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int? Width {
|
public int? Width {
|
||||||
get { return this.Retrieve<int?>("Width") ?? this.Retrieve<int?>("ColumnSpan") ?? 0; } // Falling back on "ColumnSpan" for backward compatibility.
|
get { return this.Retrieve<int?>("Width") ?? this.Retrieve<int?>("ColumnSpan") ?? 12; } // Falling back on "ColumnSpan" for backward compatibility.
|
||||||
set { this.Store(x => x.Width, value); }
|
set { this.Store(x => x.Width, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user