Переглянути джерело

Stop anchorjs from suffixing its links for "Placeholders" and "Templating" headlines.

Cosmetic changes for the homepage 3.x docs notice.
Florian Kissling 10 роки тому
батько
коміт
3ed07a6fda
2 змінених файлів з 4 додано та 5 видалено
  1. 0 1
      docs/_sass/_s2-docs-home.scss
  2. 4 4
      docs/examples.html

+ 0 - 1
docs/_sass/_s2-docs-home.scss

@@ -2,7 +2,6 @@
   padding: 15px 20px;
   color: #777;
   background-color: #FAFAFA;
-  border-top: 1px solid #FFF;
   border-bottom: 1px solid #eee;
   a {
     font-weight: bold;

+ 4 - 4
docs/examples.html

@@ -94,9 +94,9 @@ $(".js-example-basic-multiple").select2();
     </div>
   </section>
 
-  <section id="placeholders" class="row">
+  <section class="row">
     <div class="col-md-4">
-      <h1>Placeholders</h1>
+      <h1 id="placeholders">Placeholders</h1>
 
       <p>
         A placeholder value can be defined and will be displayed until a selection is made.
@@ -136,9 +136,9 @@ $(".js-example-placeholder-multiple").select2({
     </div>
   </section>
 
-  <section id="templating" class="row">
+  <section class="row">
     <div class="col-md-4">
-      <h1>Templating</h1>
+      <h1 id="templating">Templating</h1>
 
       <p>
         Various display options of the Select2 component can be changed