1
1
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:
silverwind
2020-12-01 05:00:14 +01:00
committed by GitHub
parent 14e8ef9ecb
commit b1cf7f4df1
133 changed files with 150 additions and 145 deletions

View File

@@ -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">

View File

@@ -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">

View File

@@ -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" .}}

View File

@@ -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">

View File

@@ -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">

View File

@@ -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">

View File

@@ -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">

View File

@@ -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">

View File

@@ -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" .}}

View File

@@ -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">

View File

@@ -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" .}}

View File

@@ -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" .}}