title: How do I avoid li element going down when I open another li element
body: <p>So I have this list with some elements in it. The problem is that, when I open one of the li elements in my browser, the other li elements go down too. This is a photo for you to understand it</p>
  
  <p><img src="https://i.stack.imgur.com/EQiUp.png" alt="image"> </p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;ul class="gadgets-list"&gt;
  &lt;li class="gadget"&gt;&lt;img src="iconmonstr-keyboard-2-240.png" class="image"&gt;Keyboards&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
  &lt;p class="item"&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li class="gadget"&gt;&lt;img class="image" src="iconmonstr-mouse-8-240.png"&gt;Mouses&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="gadget"&gt;&lt;img  class="image" src="iconmonstr-headphones-1-240.png"&gt;Headsets&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="gadget"&gt;&lt;img class="image" src="iconmonstr-computer-1-240.png"&gt;Monitors&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="gadge"&gt;&lt;img class="image" src="iconmonstr-cpu-1-240.png"&gt;Other components&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>.gadgets-list {
    background-color: white;
    display: inline-block;
    word-spacing: 50px;
    width: 100%;
  }
  .item {
    word-spacing: normal;
  }
  .gadge {
    list-style: none;
    word-spacing: normal;
    display: inline-block;
  }
  p {
    width: 450px
  }
  </code></pre>