Skip to content

Commit

Permalink
rwd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Oct 4, 2023
1 parent 9b569e9 commit 7efebb1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/Moonglade.Web/Pages/Shared/_EnvInfo.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<environment exclude="Production">
<div class="environment-info bg-danger text-light fixed-bottom text-center p-1 start-50 translate-middle-x d-print-none">
You are accessing @WebHostEnvironment.EnvironmentName environment, data and changes may be isolated from production.
@WebHostEnvironment.EnvironmentName environment
</div>
</environment>
2 changes: 1 addition & 1 deletion src/Moonglade.Web/Pages/Shared/_Footer.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</ul>
</section>

<section id="footer-language-mobile" class="col-3 d-block d-md-none text-end font-125rem">
<section id="footer-language-mobile" class="col d-block d-md-none text-end font-125rem">
<a href="#" data-bs-toggle="modal" data-bs-target="#langselectormodal" aria-label="Choose display language"><i class="bi-globe"></i></a>
</section>
</div>
Expand Down
2 changes: 0 additions & 2 deletions src/Moonglade.Web/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@using Moonglade.Utils
@using Moonglade.Web.TagHelpers
@using Microsoft.AspNetCore.Mvc.TagHelpers
@using Microsoft.AspNetCore.Localization
@using System.Globalization
@inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet
Expand Down
4 changes: 3 additions & 1 deletion src/Moonglade.Web/Pages/_CommentForm.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
<span id="loadingIndicator" class="spinner-border spinner-border-sm" role="status" aria-hidden="true" style="display: none;"></span>
<span class="bi-send"></span>
@SharedLocalizer["Submit"]
<span class="d-none d-md-block">
@SharedLocalizer["Submit"]
</span>
</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Moonglade.Web/wwwroot/css/post-slug.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ code {
}

@media (max-width: 767px) {
h1 .post-title, .post-content h1 {
h1.post-title, .post-content h1 {
font-size: 1.4rem;
}

Expand Down
24 changes: 12 additions & 12 deletions src/Moonglade.Web/wwwroot/css/rwd.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

@media (max-width: 767px) {

.article-post-slug.box {
padding: 0;
box-shadow: none;
.article-post-slug {
padding: 0 !important;
box-shadow: none !important;
border: none !important;
}

Expand Down Expand Up @@ -65,14 +65,14 @@
width: 100%;
}

.blogger-intro-content h4 {
background-color: var(--transparent-light-20);
border-radius: 5px;
color: var(--bs-white);
font-size: 1rem;
padding: 5px;
text-shadow: 2px 0 2px #000;
}
.blogger-intro-content h4 {
background-color: var(--transparent-light-20);
border-radius: 5px;
color: var(--bs-white);
font-size: 1rem;
padding: 5px;
text-shadow: 2px 0 2px #000;
}

.navbar .nav-item {
margin: 0 !important;
Expand Down Expand Up @@ -116,4 +116,4 @@
.form-control#term {
width: 173px !important;
}
}
}

0 comments on commit 7efebb1

Please sign in to comment.