Skip to content

Commit 9d41fd7

Browse files
authored
Merge pull request #305 from cloudscribe/dev
merge changes from dev
2 parents f926574 + a2431c8 commit 9d41fd7

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ bool asideSecondaryVisible = true.Equals(ViewData["AsideSecondaryVisible"]);
1414
var Tenant = await siteResolver.ResolveSite(Context.Request.Host.Host, Context.Request.Path);
1515
var siteRoot = "";
1616
if (!string.IsNullOrWhiteSpace(Tenant.SiteFolderName)) { siteRoot = "/" + Tenant.SiteFolderName; }
17+
var isIE = Context.Request.Headers["User-Agent"].ToString().Contains("Trident");
18+
var ieBodyClass = isIE ? "IE" : "";
1719

1820
}
1921
<!DOCTYPE html>
@@ -35,7 +37,7 @@ if (!string.IsNullOrWhiteSpace(Tenant.SiteFolderName)) { siteRoot = "/" + Tenant
3537
<google-analytics profile-id="@Tenant.GoogleAnalyticsProfileId" user-id="@User.GetUserId()"></google-analytics>
3638
<base href="@Context.Request.Path" />
3739
</head>
38-
<body class="d-flex flex-column @ViewData["BodyClass"]">
40+
<body class="d-flex flex-column @ViewData["BodyClass"] @ieBodyClass">
3941
<header>
4042
<a id="skippy" class="sr-only sr-only-focusable" href="#content">
4143
<div class="container">

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-

1+
/*.gallery-block {
2+
padding-bottom: 60px;
3+
padding-top: 60px;
4+
}
5+
6+
.gallery-block .heading {
7+
margin-bottom: 50px;
8+
text-align: center;
9+
}
10+
11+
.gallery-block .heading h2 {
12+
font-weight: bold;
13+
font-size: 1.4rem;
14+
text-transform: uppercase;
15+
}*/
16+
217
.gallery-block.cards-gallery h6 {
318
font-size: 17px;
419
font-weight: bold;

0 commit comments

Comments
 (0)