]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Replace inline styles in example "Dropdowns" (#35483)
authorAnton <info@ensostudio.ru>
Tue, 7 Dec 2021 18:45:56 +0000 (21:45 +0300)
committerGitHub <noreply@github.com>
Tue, 7 Dec 2021 18:45:56 +0000 (20:45 +0200)
site/content/docs/5.1/examples/dropdowns/index.html

index 5296d1507ef11c1e909eb9b6e617d0ebde4f33bc..861e8166709fcd275bd2a254cb7b05511c538759 100644 (file)
@@ -107,19 +107,19 @@ body_class: ""
     </form>
     <ul class="list-unstyled mb-0">
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-success rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-success rounded-circle p-1"></span>
         Action
       </a></li>
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-primary rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-primary rounded-circle p-1"></span>
         Another action
       </a></li>
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-danger rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-danger rounded-circle p-1"></span>
         Something else here
       </a></li>
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-info rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-info rounded-circle p-1"></span>
         Separated link
       </a></li>
     </ul>
@@ -131,19 +131,19 @@ body_class: ""
     </form>
     <ul class="list-unstyled mb-0">
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-success rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-success rounded-circle p-1"></span>
         Action
       </a></li>
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-primary rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-primary rounded-circle p-1"></span>
         Another action
       </a></li>
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-danger rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-danger rounded-circle p-1"></span>
         Something else here
       </a></li>
       <li><a class="dropdown-item d-flex align-items-center gap-2 py-2" href="#">
-        <span class="d-inline-block bg-info rounded-circle" style="width: .5em; height: .5em;"></span>
+        <span class="d-inline-block bg-info rounded-circle p-1"></span>
         Separated link
       </a></li>
     </ul>
@@ -336,4 +336,4 @@ body_class: ""
   <div class="col-4">
     ...
   </div>
-</div>
\ No newline at end of file
+</div>