Skip to content

Commit cdaa138

Browse files
committed
Make sidemodule links take up 100% of the width
Fixes #39
1 parent 75ca7b0 commit cdaa138

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

static/shared/css/documentation.css

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,25 +1255,35 @@ span.bash-output {
12551255
/****************************/
12561256

12571257
.sidebar-module h3 a {
1258-
display: table-cell;
1258+
display: block;
1259+
}
1260+
1261+
.sidebar-module a + a {
1262+
padding-left: 27px;
12591263
}
12601264

1265+
.sidebar-module h3 {
1266+
position: relative;
1267+
}
1268+
12611269
.sidebar-module .arrow-btn {
1262-
background-image: url(/shared/images/expand-arrows.png);
1263-
background-repeat: no-repeat;
1264-
background-position: -3px -3px;
1265-
width: 13px;
1266-
padding: 8px 4px;
1267-
display: table-cell;
1268-
text-decoration: none;
1270+
background-image: url(/shared/images/expand-arrows.png);
1271+
background-repeat: no-repeat;
1272+
background-position: -3px -3px;
1273+
width: 13px;
1274+
height: 100%;
1275+
padding: 0 4px;
1276+
text-decoration: none;
1277+
position: absolute;
1278+
left: 0;
1279+
top: 0;
12691280
}
12701281

12711282
.arrow-btn.expanded {
12721283
background-position: -41px -3px;
12731284
}
12741285

12751286
.arrow-btn.collapsed:hover {
1276-
background-image: url(/shared/images/expand-arrows.png);
12771287
background-position: -3px -43px;
12781288
}
12791289

0 commit comments

Comments
 (0)