Skip to content

The Unified and Autonomous Development Platform

Minor css improvement

Robin Shend2c42ffcf76b
diff --git a/server-core/src/main/java/io/onedev/server/notification/IssueNotificationManager.java b/server-core/src/main/java/io/onedev/server/notification/IssueNotificationManager.java
index 7eb0739283..d5541aaeda 100644
--- a/server-core/src/main/java/io/onedev/server/notification/IssueNotificationManager.java
+++ b/server-core/src/main/java/io/onedev/server/notification/IssueNotificationManager.java
@@ -75,7 +75,7 @@ public class IssueNotificationManager extends AbstractNotificationManager {
else
url = urlManager.urlFor(issue);
- String summary = "[" + issue.getState() + "] ";
+ String summary = issue.getState() + " - ";
if (user != null)
summary = summary + user.getDisplayName() + " " + event.getActivity();
else
diff --git a/server-core/src/main/java/io/onedev/server/notification/PullRequestNotificationManager.java b/server-core/src/main/java/io/onedev/server/notification/PullRequestNotificationManager.java
index a8084a0fcf..eed2172834 100644
--- a/server-core/src/main/java/io/onedev/server/notification/PullRequestNotificationManager.java
+++ b/server-core/src/main/java/io/onedev/server/notification/PullRequestNotificationManager.java
@@ -168,7 +168,7 @@ public class PullRequestNotificationManager extends AbstractNotificationManager
}
}
- String summary = "[" + request.getStatusName() + "] ";
+ String summary = request.getStatusName() + " - ";
if (user != null)
summary = summary + user.getDisplayName() + " " + event.getActivity();
else if (committer != null)
diff --git a/server-core/src/main/java/io/onedev/server/web/asset/bootstrap/css/bootstrap-custom.css b/server-core/src/main/java/io/onedev/server/web/asset/bootstrap/css/bootstrap-custom.css
index acc964f02e..8d4c9373ca 100644
--- a/server-core/src/main/java/io/onedev/server/web/asset/bootstrap/css/bootstrap-custom.css
+++ b/server-core/src/main/java/io/onedev/server/web/asset/bootstrap/css/bootstrap-custom.css
@@ -1860,13 +1860,12 @@ input[type="radio"], input[type="checkbox"] {
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
- margin-bottom: 0.5rem;
+ margin-bottom: 1rem;
font-weight: 500;
line-height: 1.2;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
- margin-bottom: 0.5rem;
}
h1, .h1 {
font-size: 2rem;