aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-05-16 17:50:36 +0200
committerGitHub <noreply@github.com>2020-05-16 23:50:36 +0800
commit6603045476e42d24606c82d5a6d740f8c06aa059 (patch)
tree42fe1b58cc0f24588fa2f12294659a88548e7190 /web_src/less
parent0052d788daf0bdc938d6189da880b5113a1113c6 (diff)
downloadgitea-6603045476e42d24606c82d5a6d740f8c06aa059.tar.gz
gitea-6603045476e42d24606c82d5a6d740f8c06aa059.zip
Better styling for code review comment textarea (#11428)
* Better styling for code review comment textarea * align tabular menu with textarea * border around active tab instead of textarea * border radius * use .28571429rem
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_review.less17
1 files changed, 12 insertions, 5 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index 568952034a..f146cc1da8 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -66,12 +66,19 @@
border: 0;
}
- .ui.attached.tabular.menu {
- background: #f7f7f7;
+ .ui.active.tab {
border: 1px solid #d4d4d5;
- padding-top: 5px;
- padding-left: 5px;
- margin-top: 0;
+ padding: .5em;
+ border-radius: 0 .28571429rem .28571429rem .28571429rem;
+ }
+
+ .ui.active.markdown.tab {
+ border-top-left-radius: .28571429rem;
+ }
+
+ .ui.tabular.menu {
+ margin-bottom: 0;
+ border-bottom: 0;
}
.comment-list {