summaryrefslogtreecommitdiffstats
path: root/web_src/css/index.css
diff options
context:
space:
mode:
authorHester Gong <hestergong@gmail.com>2023-04-20 16:58:26 +0800
committerGitHub <noreply@github.com>2023-04-20 04:58:26 -0400
commit6793ef00692aee3d73d5e37ded0b8cff6b4c1029 (patch)
tree7a34d3692b2966c9aa56adb9d6fb2d71bc44e0fe /web_src/css/index.css
parent722dab5286a001a0bd367d42258a8613a944e1c1 (diff)
downloadgitea-6793ef00692aee3d73d5e37ded0b8cff6b4c1029.tar.gz
gitea-6793ef00692aee3d73d5e37ded0b8cff6b4c1029.zip
Use secondary pointing menu for tabs on user/organization home page (#24162)
Close #24108 Use secondary pointing menu for tabs on user/organization home page so the tabs look the same. Main changes: 1. modified a part of dom structure in `templates/user/overview/header.tmpl` to make it the same as `templates/org/header.tmpl` in order to produce the same ui. 2. Move some css to `web_src/css/shared/repoorgshared.css` to make them shareable between `templates/user/overview/header.tmpl` and `templates/org/header.tmpl` After: https://user-images.githubusercontent.com/17645053/232400617-2add5bec-d483-4ab1-b48d-eaee157f7b09.mov For further improvements. Need some thoughts: For [this TODO](https://github.com/HesterG/gitea/blob/729ad294cbec7a77623b2e3eab750ea7a20e8ee0/templates/user/overview/header.tmpl#L1), it is viable to make it a shared template for [this part](https://github.com/HesterG/gitea/blob/729ad294cbec7a77623b2e3eab750ea7a20e8ee0/templates/user/overview/header.tmpl#L2-L17) and [this part](https://github.com/HesterG/gitea/blob/729ad294cbec7a77623b2e3eab750ea7a20e8ee0/templates/org/header.tmpl#L1-L16) because they are the same except for the variable. But for the menu parts, they are quite different so might not be suitable to use a shared template. So need some thoughts and advice about extracting the shared template from these two headers. --------- Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css/index.css')
-rw-r--r--web_src/css/index.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/index.css b/web_src/css/index.css
index e8d4e290d0..2530830338 100644
--- a/web_src/css/index.css
+++ b/web_src/css/index.css
@@ -2,6 +2,7 @@
@import "./animations.css";
@import "./shared/issuelist.css";
+@import "./shared/repoorg.css";
@import "./features/dropzone.css";
@import "./features/gitgraph.css";
@import "./features/heatmap.css";