aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/user/dashboard/navbar.tmpl2
-rw-r--r--web_src/css/base.css15
-rw-r--r--web_src/css/dashboard.css3
-rw-r--r--web_src/css/repo/header.css1
-rw-r--r--web_src/css/user.css4
5 files changed, 12 insertions, 13 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl
index 3e9442d6fc..480c39e8bf 100644
--- a/templates/user/dashboard/navbar.tmpl
+++ b/templates/user/dashboard/navbar.tmpl
@@ -105,4 +105,4 @@
{{end}}
</div>
</div>
-<div class="divider"></div>
+<div class="divider tw-mt-0"></div>
diff --git a/web_src/css/base.css b/web_src/css/base.css
index b47de5ad50..018c7d7bcd 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -227,16 +227,6 @@ a.label,
border-bottom-color: var(--color-secondary);
}
-.page-content {
- margin-top: 15px;
-}
-
-.page-content .header-wrapper,
-.page-content overflow-menu {
- margin-top: -15px !important;
- padding-top: 15px !important;
-}
-
/* fix Fomantic's line-height cutting off "g" on Windows Chrome with Segoe UI */
.ui.input > input {
line-height: var(--line-height-default);
@@ -678,6 +668,11 @@ img.ui.avatar,
padding-bottom: 80px;
}
+.page-content.new:is(.repo,.migrate,.org),
+.page-content.profile:is(.user,.organization) {
+ padding-top: 15px;
+}
+
/* overwrite semantic width of containers inside the main page content div (div with class "page-content") */
.page-content .ui.ui.ui.container:not(.fluid) {
width: 1280px;
diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css
index 51ddd45e31..140cd2e4bf 100644
--- a/web_src/css/dashboard.css
+++ b/web_src/css/dashboard.css
@@ -78,8 +78,7 @@
}
.dashboard .dashboard-navbar {
- padding-left: 0.5rem;
- padding-right: 0.5rem;
+ padding: 4px 12px;
}
.dashboard .dashboard-navbar .org-visibility .label {
diff --git a/web_src/css/repo/header.css b/web_src/css/repo/header.css
index 4461e3338e..f66df4cd8b 100644
--- a/web_src/css/repo/header.css
+++ b/web_src/css/repo/header.css
@@ -71,6 +71,7 @@
}
.repository .header-wrapper {
+ padding-top: 12px;
background-color: var(--color-header-wrapper);
}
diff --git a/web_src/css/user.css b/web_src/css/user.css
index af8a2f5adc..4267ca0b7d 100644
--- a/web_src/css/user.css
+++ b/web_src/css/user.css
@@ -112,6 +112,10 @@
border: 1px solid var(--color-secondary);
}
+#notification_div {
+ padding-top: 15px;
+}
+
#notification_table {
background: var(--color-box-body);
border: 1px solid var(--color-secondary);