pull-requests: fixed small UI glitches in pull request view.

This commit is contained in:
Marcin Kuzminski 2020-04-03 21:30:17 +02:00
parent 7e3d409bfe
commit c08522ec01
4 changed files with 25 additions and 18 deletions

View file

@ -265,7 +265,7 @@ input[type="button"] {
.btn-action-switcher-container{
position: absolute;
top: 30px;
left: 0px;
left: -82px;
}
.btn-action-switcher {
@ -378,7 +378,9 @@ input[type="button"] {
background-color: transparent;
border: none;
}
.noselect
}
.grid_delete {
.action_button {
border: none;

View file

@ -419,8 +419,8 @@ ul.auth_plugins {
}
.pr-title-input {
width: 80%;
font-size: 1em;
width: 100%;
font-size: 18px;
margin: 0 0 4px 0;
padding: 0;
line-height: 1.7em;
@ -440,6 +440,7 @@ ul.auth_plugins {
color: black;
opacity: 1;
background: #fff;
font-size: 18px;
}
}
@ -1483,10 +1484,16 @@ table.integrations {
border-bottom: @border-thickness solid @grey5;
margin-bottom: @space;
}
.reviewers-title {
width: 25%;
min-width: 200px;
width: 25%;
min-width: 200px;
&.first-panel {
margin-top: 34px;
}
}
.reviewers {
width: 25%;
min-width: 200px;

View file

@ -15,5 +15,4 @@
'webapp_location': '${h.route_url('home').rstrip('/')}'
};
%endif
</script>

View file

@ -11,15 +11,6 @@
<%def name="breadcrumbs_links()">
<div id="pr-title">
% if c.pull_request.is_closed():
<span class="pr-title-closed-tag tag">${_('Closed')}</span>
% endif
<input class="pr-title-input large disabled" disabled="disabled" name="pullrequest_title" type="text" value="${c.pull_request.title}">
</div>
<div id="pr-title-edit" class="input" style="display: none;">
<input class="pr-title-input large" id="pr-title-input" name="pullrequest_title" type="text" value="${c.pull_request.title}">
</div>
</%def>
<%def name="menu_bar_nav()">
@ -40,11 +31,19 @@
<div class="box">
${self.breadcrumbs()}
<div class="box pr-summary">
<div class="summary-details block-left">
<div id="pr-title">
% if c.pull_request.is_closed():
<span class="pr-title-closed-tag tag">${_('Closed')}</span>
% endif
<input class="pr-title-input large disabled" disabled="disabled" name="pullrequest_title" type="text" value="${c.pull_request.title}">
</div>
<div id="pr-title-edit" class="input" style="display: none;">
<input class="pr-title-input large" id="pr-title-input" name="pullrequest_title" type="text" value="${c.pull_request.title}">
</div>
<% summary = lambda n:{False:'summary-short'}.get(n) %>
<div class="pr-details-title">
<div class="pull-left">
@ -295,7 +294,7 @@
</div>
## REVIEWERS
<div class="reviewers-title block-right">
<div class="reviewers-title first-panel block-right">
<div class="pr-details-title">
${_('Pull request reviewers')}
%if c.allowed_to_update: