aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-07-15 01:22:48 +0200
committerGitHub <noreply@github.com>2024-07-14 23:22:48 +0000
commit0bb4c1cde24052b535de5770e1db3d3279afe32b (patch)
treec07c89c415114d8b0edb57084848dd414fc1f063 /templates
parent0f533241829d0d48aa16a91e7dc0614fe50bc317 (diff)
downloadgitea-0bb4c1cde24052b535de5770e1db3d3279afe32b.tar.gz
gitea-0bb4c1cde24052b535de5770e1db3d3279afe32b.zip
Code editor theme enhancements (#31629)
1. Fixed border-radius 2. Monaco ignores the alpha channel on the shadow color, introduce `color-shadow-opaque` 3. Remove scrollbar color which follows https://github.com/go-gitea/gitea/pull/29800 Before: <img width="34" alt="Screenshot 2024-07-13 at 15 38 18" src="https://github.com/user-attachments/assets/042d9bde-6db9-4467-a2a4-8f61ecc773eb"> <img width="35" alt="Screenshot 2024-07-13 at 15 38 31" src="https://github.com/user-attachments/assets/04146ee0-551c-4ff2-9636-bd119b33595a"> After: <img width="45" alt="Screenshot 2024-07-13 at 15 38 06" src="https://github.com/user-attachments/assets/1f58fa5a-1289-4e45-83c9-18ca82a5e266"> <img width="39" alt="Screenshot 2024-07-13 at 21 16 56" src="https://github.com/user-attachments/assets/e12ebe22-b29b-4798-9f0d-4c100f311562">
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/editor/edit.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl
index e990177d8a..c556826827 100644
--- a/templates/repo/editor/edit.tmpl
+++ b/templates/repo/editor/edit.tmpl
@@ -36,7 +36,7 @@
</div>
</div>
<div class="ui bottom attached segment tw-p-0">
- <div class="ui active tab tw-rounded" data-tab="write">
+ <div class="ui active tab tw-rounded-b" data-tab="write">
<textarea id="edit_area" name="content" class="tw-hidden" data-id="repo-{{.Repository.Name}}-{{.TreePath}}"
data-url="{{.Repository.Link}}/markup"
data-context="{{.RepoLink}}"