mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add class to page content to unify top margin (#13766)
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization new org">
|
||||
<div class="page-content organization new org">
|
||||
<div class="ui middle very relaxed page grid">
|
||||
<div class="column">
|
||||
<form class="ui form" action="{{.Link}}" method="post">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization profile mt-5">
|
||||
<div class="page-content organization profile">
|
||||
{{/* overflow: auto is the clearfix - this avoids the image going beyond
|
||||
the container where it is supposed to stay inside. */}}
|
||||
<div class="ui container" style="overflow: auto">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization members">
|
||||
<div class="page-content organization members">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
{{template "base/alert" .}}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization settings delete">
|
||||
<div class="page-content organization settings delete">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
<div class="ui grid">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization settings new webhook">
|
||||
<div class="page-content organization settings new webhook">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
<div class="ui grid">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization settings webhooks">
|
||||
<div class="page-content organization settings webhooks">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
<div class="ui grid">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization settings labels">
|
||||
<div class="page-content organization settings labels">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
<div class="ui grid">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization settings options">
|
||||
<div class="page-content organization settings options">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
<div class="ui grid">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization teams">
|
||||
<div class="page-content organization teams">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
{{template "base/alert" .}}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization new team">
|
||||
<div class="page-content organization new team">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui middle very relaxed page grid">
|
||||
<div class="column">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization teams">
|
||||
<div class="page-content organization teams">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
{{template "base/alert" .}}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="organization teams">
|
||||
<div class="page-content organization teams">
|
||||
{{template "org/header" .}}
|
||||
<div class="ui container">
|
||||
{{template "base/alert" .}}
|
||||
|
Reference in New Issue
Block a user