-
+ @if (Width > 1021)
+ {
+
+ }
@code {
@@ -95,6 +101,18 @@
Width = dimension.Width;
}
+ protected string mainSize
+ {
+ get
+ {
+ string answ = "col-12";
+ if (Width > 1021)
+ {
+ answ = "col-6";
+ }
+ return answ;
+ }
+ }
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
}
diff --git a/MP-TAB-SERV/Pages/_Layout.cshtml b/MP-TAB-SERV/Pages/_Layout.cshtml
index 0fcdec14..868a4a2d 100644
--- a/MP-TAB-SERV/Pages/_Layout.cshtml
+++ b/MP-TAB-SERV/Pages/_Layout.cshtml
@@ -30,7 +30,7 @@