properly calculate the width of the name in the sidebar

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2016-12-02 16:08:12 +01:00
parent ac527769c5
commit 48dddf82eb
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 1 additions and 6 deletions

View File

@ -27,11 +27,6 @@
width: 90%;
}
#app-sidebar .file-details-container {
display: inline-block;
float: left;
}
#app-sidebar .thumbnailContainer.large {
margin-left: -15px;
margin-right: -35px; /* 15 + 20 for the close button */
@ -97,7 +92,7 @@
}
#app-sidebar .fileName h3 {
max-width: 85%;
width: calc(100% - 36px); /* 36px is the with of the copy link icon */
display: inline-block;
padding: 5px 0;
margin: -5px 0;