summaryrefslogtreecommitdiff
path: root/style
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-03-25 15:53:49 +0100
committerPeter Wu <peter@lekensteyn.nl>2015-03-25 15:53:49 +0100
commit4dd4ae8952f4484b79eaf95928fbe40ad67397d3 (patch)
tree6602f73fd6aa47faab917ed52fae80b80ab3dbea /style
parentcdf71f78179ab54558cb60385980e6d401d79fca (diff)
downloadsite-4dd4ae8952f4484b79eaf95928fbe40ad67397d3.tar.gz
Curriculum: fix display in FF, ellipsis overflow
Diffstat (limited to 'style')
-rw-r--r--style/curriculum.less10
1 files changed, 6 insertions, 4 deletions
diff --git a/style/curriculum.less b/style/curriculum.less
index 5f02380..1ae44ba 100644
--- a/style/curriculum.less
+++ b/style/curriculum.less
@@ -17,11 +17,11 @@ body[data-page="curriculum"] #curriculum-menu {
}
.quartile {
background: @color-complement-1;
- display: flex;
& > li {
- flex: 1;
- width: 100%;
+ display: inline-block;
+ box-sizing: border-box;
+ width: 25%;
}
}
.courses {
@@ -29,9 +29,11 @@ body[data-page="curriculum"] #curriculum-menu {
& > li {
background: @color-complement-3;
- margin: 2px inherit;
+ margin-top: 2px;
+ margin-bottom: 2px;
white-space: nowrap;
overflow: hidden;
+ text-overflow: ellipsis;
&[data-type="bc"] {
background-color: #FFC000;