We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a3b5d8 + a8b08d5 commit 053cb1dCopy full SHA for 053cb1d
src/BlazorDatasheet.SharedPages/Components/Examples/Customisation/ProgressEditor.razor
@@ -4,7 +4,7 @@
4
@inherits BlazorDatasheet.Edit.BaseEditor
5
6
<input type="range"
7
- style="width:@(CellWidth)px;height: @(CellHeight)px; outline: none;"
+ style=" outline: none; width: 100%; height: 100%;"
8
min="0" max="200" @bind-value="CurrentValue" @ref="InputRef"/>
9
10
@code {
src/BlazorDatasheet/Edit/EditorLayer.razor
@@ -221,6 +221,9 @@
221
sb.AddStyle("left", $"{left + 1}px;");
222
sb.AddStyle("top", $"{top + 1}px;");
223
224
+ sb.AddStyle("width", w + "px");
225
+ sb.AddStyle("height", h + "px");
226
+
227
sb.AddStyle("max-width", LayerWidth + "px");
228
sb.AddStyle("max-height", LayerHeight + "px");
229
0 commit comments