Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the negative margin from .page-content #29922

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/user/dashboard/navbar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@
{{end}}
</div>
</div>
<div class="divider"></div>
<div class="divider tw-mt-0"></div>
15 changes: 5 additions & 10 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions web_src/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
}

.dashboard .dashboard-navbar {
padding-left: 0.5rem;
padding-right: 0.5rem;
padding: 4px 12px;
}

.dashboard .dashboard-navbar .org-visibility .label {
Expand Down
1 change: 1 addition & 0 deletions web_src/css/repo/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
}

.repository .header-wrapper {
padding-top: 12px;
background-color: var(--color-header-wrapper);
}

Expand Down
4 changes: 4 additions & 0 deletions web_src/css/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down