mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-04 13:50:39 +00:00
Clarify "text-align" CSS helpers, fix clone button padding (#25763)
Changes: * Rename gt-tl/gt-tc/gt-tr to gt-text-left/gt-text-center/gt-text-right * The gt-ab and gt-br-0 are removed because they are not needed anymore * Fix the clone dropdown button padding by ":not(.icon)" Before: <details>  </details> After: <details>  </details> Fixes #25758 Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
62f3c0fe76
commit
cc00fd50f3
11 changed files with 17 additions and 17 deletions
|
@ -8,10 +8,6 @@ Gitea's private styles use `g-` prefix.
|
|||
.gt-dif { display: inline-flex !important; }
|
||||
.gt-dib { display: inline-block !important; }
|
||||
.gt-ac { align-items: center !important; }
|
||||
.gt-ab { align-items: baseline !important; }
|
||||
.gt-tc { text-align: center !important; }
|
||||
.gt-tl { text-align: left !important; }
|
||||
.gt-tr { text-align: right !important; } /* TODO: rename these to "gt-text-right", etc. there are only a few */
|
||||
.gt-jc { justify-content: center !important; }
|
||||
.gt-js { justify-content: flex-start !important; }
|
||||
.gt-je { justify-content: flex-end !important; }
|
||||
|
@ -22,7 +18,6 @@ Gitea's private styles use `g-` prefix.
|
|||
.gt-vm { vertical-align: middle !important; }
|
||||
.gt-w-100 { width: 100% !important; }
|
||||
.gt-h-100 { height: 100% !important; }
|
||||
.gt-br-0 { border-radius: 0 !important; }
|
||||
|
||||
.gt-mono {
|
||||
font-family: var(--fonts-monospace) !important;
|
||||
|
@ -90,6 +85,10 @@ Gitea's private styles use `g-` prefix.
|
|||
.gt-float-right { float: right !important; }
|
||||
.gt-clear-both { clear: both !important; }
|
||||
|
||||
.gt-text-center { text-align: center !important; }
|
||||
.gt-text-left { text-align: left !important; }
|
||||
.gt-text-right { text-align: right !important; }
|
||||
|
||||
.gt-font-light { font-weight: var(--font-weight-light) !important; }
|
||||
.gt-font-normal { font-weight: var(--font-weight-normal) !important; }
|
||||
.gt-font-medium { font-weight: var(--font-weight-medium) !important; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue