Skip to content

Commit 07de07f

Browse files
authored
Merge pull request #306 from cloudscribe/dev
merge changes from dev
2 parents 9d41fd7 + 4ccfd97 commit 07de07f

File tree

8 files changed

+38
-8
lines changed

8 files changed

+38
-8
lines changed

src/cloudscribe.SimpleContent.ContentTemplates.Bootstrap4/Views/Shared/ContentTemplates/BingMapRender.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@
3434
{
3535
<script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=loadMapScenario&key=@Model.ApiKey' async defer></script>
3636
}
37-

src/cloudscribe.SimpleContent.ContentTemplates.Bootstrap4/Views/Shared/GalleryWithContentRenderCardsPartial.cshtml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@
77
<div class="row gallery-block cards-gallery simple-gallery">
88
@for (int i = 0; i < Model.Items.Count; i++)
99
{
10-
<div class="col-md-6 col-lg-4">
10+
<div class="col-md-6 col-lg-4 gallery-item">
1111
<div class="card border-0 transform-on-hover">
1212
<a class="lightbox" href="@Model.Items[i].ResizedUrl">
1313
<img src="@Model.Items[i].ResizedUrl" alt="@Model.Items[i].Description" class="card-img-top">
1414
</a>
1515
<div class="card-body">
16-
<h6><a href="#">@Model.Items[i].Title</a></h6>
16+
@if (!string.IsNullOrWhiteSpace(@Model.Items[i].Title))
17+
{
18+
<h6>@Model.Items[i].Title</h6>
19+
}
1720
<p class="text-muted card-text">@Model.Items[i].Description</p>
1821
</div>
1922
</div>

src/cloudscribe.SimpleContent.ContentTemplates.Bootstrap4/css/simple-gallery.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,8 @@ opacity: 1;
151151
width: 690px;
152152
}
153153
}
154+
/* IE 11 fixes */
155+
body.IE .cards-gallery .lightbox {
156+
flex: 0 0 auto;
157+
}
154158

src/cloudscribe.SimpleContent.ContentTemplates.Bootstrap4/css/simple-gallery.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sourceDev.WebApp/sitefiles/s1/themes/custom1/Shared/_Layout.cshtml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ var ieBodyClass = isIE ? "IE" : "";
2727
@RenderSection("Meta", required: false)
2828
<environment names="Development">
2929
<link rel="stylesheet" href="~/css/style.css" cs-resolve-theme-resource="true" cs-tenant="@Tenant" />
30-
30+
3131
</environment>
3232
<environment names="Staging,Production">
3333
<link rel="stylesheet" href="~/css/style.min.css" cs-resolve-theme-resource="true" cs-tenant="@Tenant" />
34-
3534
</environment>
3635
@RenderSection("Styles", required: false)
36+
@if (isIE)
37+
{
38+
<link rel="stylesheet" href="~/css/ie11.css" />
39+
}
3740
<google-analytics profile-id="@Tenant.GoogleAnalyticsProfileId" user-id="@User.GetUserId()"></google-analytics>
3841
<base href="@Context.Request.Path" />
3942
</head>
@@ -58,7 +61,7 @@ var ieBodyClass = isIE ? "IE" : "";
5861
</header>
5962
<div id="wrapper" class="container-fluid cs-container flex-fill">
6063
@await Component.InvokeAsync("Navigation", new { viewName = "Bootstrap4Breadcrumbs", filterName = NamedNavigationFilters.Breadcrumbs, startingNodeKey = "" })
61-
<div class="row">
64+
<div class="row mainrow">
6265
<main id="content" role="main" class="col order-3">
6366
@await Html.PartialAsync("AlertsPartial")
6467
@RenderBody()
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*body {
2+
flex: 0 0 auto;
3+
}*/
4+
body {
5+
6+
}
7+
8+
header, footer {
9+
10+
}
11+
12+
.cards-gallery .lightbox {
13+
flex: 0 0 auto;
14+
}
15+
#wrapper {
16+
17+
}

src/sourceDev.WebApp/wwwroot/css/simple-gallery.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,8 @@ opacity: 1;
151151
width: 690px;
152152
}
153153
}
154+
/* IE 11 fixes */
155+
body.IE .cards-gallery .lightbox {
156+
flex: 0 0 auto;
157+
}
154158

src/sourceDev.WebApp/wwwroot/css/simple-gallery.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)