summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-31 00:02:26 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-31 00:02:26 +0100
commitf4ac90e8d0d411c748d42b4e33fa27762872b8eb (patch)
treeabd9bb5d0d6bc388af1c767363d9c56b832f8295 /core
parent9c68db5ffbfe330d3692e62b982d499dd90a3850 (diff)
downloadnextcloud-server-f4ac90e8d0d411c748d42b4e33fa27762872b8eb.tar.gz
nextcloud-server-f4ac90e8d0d411c748d42b4e33fa27762872b8eb.zip
Filepicker: center text in grid view, improve spacing
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 4b80b4f9626..0c7d9d26a21 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -798,7 +798,7 @@ code {
&.view-grid {
$grid-size: 120px;
$grid-pad: 10px;
- $name-height: 20px;
+ $name-height: 30px;
display: flex;
flex-direction: column;
@@ -821,17 +821,17 @@ code {
td {
border: none;
padding: 0;
+ text-align: center;
&.filename {
padding: #{$grid-size - 2 * $grid-pad} 0 0 0;
background-position: center top;
background-size: contain;
line-height: $name-height;
- height: $name-height;
}
&.filesize {
- line-height: $name-height;
- text-align: left;
+ line-height: $name-height / 3;
+ width: 100%;
}
&.date {
display: none;