Merge pull request #5562 from nextcloud/link-password-style

Fix style of link share password input view
This commit is contained in:
Joas Schilling 2017-09-20 11:30:31 +02:00 committed by GitHub
commit e43400eddb
2 changed files with 17 additions and 7 deletions

View file

@ -1,16 +1,26 @@
form fieldset {
display: flex !important;
flex-direction: column;
}
#password {
padding: 10px;
margin: 6px;
margin-right: 0 !important;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
height: 45px;
flex: 1 1 auto;
width: 100% !important;
min-width: 0; /* FF hack for to override default value */
}
input[type='submit'] {
width: 45px;
height: 45px;
margin: 6px;
margin-left: 0 !important;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
fieldset > p {
position: relative;
display: flex;
align-items: center;
display: inline-flex;
}

View file

@ -5,7 +5,7 @@
script('files_sharing', 'authenticate');
?>
<form method="post">
<fieldset>
<fieldset class="warning">
<?php if (!isset($_['wrongpw'])): ?>
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
<?php endif; ?>