From 5a56f9699c904e45e62d2bd97b3d0cf5b6f5cb9c Mon Sep 17 00:00:00 2001
From: puni9869 <80308335+puni9869@users.noreply.github.com>
Date: Tue, 25 Jul 2023 23:23:16 +0530
Subject: [PATCH] Fix UI for release tag page / wiki page / subscription page
(#25948)
Agenda:
This PR contains UI fixes for release tag page / wiki page /
subscription page.
Here is the list of changes made in this PR.
1. Release tag page
a. In the New Release page the whole ui got change. Now it is covering
in full page page with mobile view port. Description about the release
the editor preview now has a min-height. and the check boxes for
`Prerelease` and option are left aligned. Couple of divider are added.
2. Subscription page:
a. In the subscription page the ui was distorted in mobile view. Now its
fix. Couple of unused styles were removed.
3. Create Wiki page:-
a. In the page the preview of markdown is now contains a fix min-height
so this it will not distorted in desktop view and a divider is added
before action buttons. Couple of unused styles were removed.
# Before
## Release page
Editor
Editor preview
#### After
Markdown preview change
Wiki page
Before
Preview of mark down.
Footer
After
Preview tab block has min-height
Mobile view
## Subscription page
### Before
After
---
templates/repo/release/new.tmpl | 31 +++++++++----------
templates/repo/wiki/new.tmpl | 5 +--
.../notification_subscriptions.tmpl | 8 ++---
web_src/css/repo/release-tag.css | 4 +++
web_src/css/repo/wiki.css | 1 +
5 files changed, 26 insertions(+), 23 deletions(-)
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl
index 6f7dc09a66..1b32aa675d 100644
--- a/templates/repo/release/new.tmpl
+++ b/templates/repo/release/new.tmpl
@@ -12,9 +12,9 @@
{{end}}
{{template "base/alert" .}}
-