Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 8573cf5

Browse files
committed
Fix: Old CSS overrode the width of a sidebar's float from 40% to auto, making it take the entire line. Remove it to allow floats to work correctly.
1 parent 98b271f commit 8573cf5

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

runestone/common/css/runestone-custom-sphinx-bootstrap.css

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ a {
208208
margin: 0 3px;
209209
border-left: 1px solid #f2f2f2;
210210
}
211-
211+
212212
.navbar-fixed-top .container {
213213
padding: 0;
214214
}
@@ -766,11 +766,11 @@ div.flash {
766766

767767
.navLink a {
768768
display: inline-block;
769-
background-color: white;
770-
border-style:solid;
771-
border-color:lightgrey;
772-
border-width:2px;
773-
width:100px;
769+
background-color: white;
770+
border-style:solid;
771+
border-color:lightgrey;
772+
border-width:2px;
773+
width:100px;
774774
height:50px
775775
}
776776

@@ -789,7 +789,7 @@ div.flash {
789789
}
790790

791791
@media (max-width: 600px) {
792-
792+
793793
.navLink {
794794
display: inline-block;
795795
bottom: auto;
@@ -869,11 +869,15 @@ div.flash {
869869
background-color: #ffffff;
870870
}
871871

872-
.container .section>div.sidebar {
872+
.container {
873873
margin: 0 0 0.5em 1em;
874874
width: auto;
875875
}
876876

877+
.section>div.sidebar {
878+
margin: 0 0 0.5em 1em;
879+
}
880+
877881
a.disqus_thread_link {
878882
display: block;
879883
}

0 commit comments

Comments
 (0)