Skip to content

Commit

Permalink
Better styling for code review comment textarea (go-gitea#11428)
Browse files Browse the repository at this point in the history
* Better styling for code review comment textarea

* align tabular menu with textarea

* border around active tab instead of textarea

* border radius

* use .28571429rem
  • Loading branch information
CirnoT authored and Yohann Delafollye committed Jul 31, 2020
1 parent 1f336dd commit e58b452
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions web_src/less/_review.less
Expand Up @@ -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 {
Expand Down

0 comments on commit e58b452

Please sign in to comment.