aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.scss
diff options
context:
space:
mode:
authorHannah Chow <hannah_chow@brown.edu>2019-03-11 19:41:20 -0400
committerHannah Chow <hannah_chow@brown.edu>2019-03-11 19:41:20 -0400
commitd3c5e42de48f59695952af85e1af84251d7d6988 (patch)
treef680949bcfb16df3798e85725e7ce185cf181afc /src/client/views/DocumentDecorations.scss
parentf4b5033a7a8ad356fd607f5f3248ac8b741d1d5c (diff)
got buttons to be responsive to number of links
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
-rw-r--r--src/client/views/DocumentDecorations.scss13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss
index 5912d5901..e77e22c5d 100644
--- a/src/client/views/DocumentDecorations.scss
+++ b/src/client/views/DocumentDecorations.scss
@@ -80,8 +80,8 @@
}
.linkButton-empty {
- height: 16px;
- width: 16px;
+ height: 20px;
+ width: 20px;
margin-top: 10px;
border-radius: 50%;
opacity: 0.9;
@@ -92,6 +92,11 @@
letter-spacing: 2px;
font-size: 75%;
transition: transform 0.2s;
+ text-align: center;
+ display: flex;
+ vertical-align: middle;
+ justify-content: center;
+ align-items: center;
}
.linkButton-nonempty {
@@ -107,4 +112,8 @@
letter-spacing: 2px;
font-size: 75%;
transition: transform 0.2s;
+ text-align: center;
+ display: flex;
+ justify-content: center;
+ align-items: center;
} \ No newline at end of file