如何在 materializecss 中制作卡片内的全宽按钮?

how to make a full width button inside card in materializecss?

我正在尝试在我的物化 css 卡中获得一个全宽按钮,到目前为止我已经取得了以下结果。

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">

<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>

<div class="row">
  <div class="col s12">
    <div class="card teal lighten-4">
      <div class="card-content">


        <article id="post-946650" class="post-946650 page type-page status-publish hentry">
          <p><input id="id_func_calc" type="hidden" value="[[{&quot;assign&quot;:[&quot;#_z&quot;],&quot;eval&quot;:&quot;#y/#x&quot;}]]">
          </p>
          <div class="mathquill-embedded-latex mathquill-rendered-math"><span class="text">Travel time(in minutes)</span>
            <input id="x" class="oInp" size="3" type="text" autocomplete="off"><br>
            <span class="text">Miles to destination</span> <input id="y" class="oInp" size="3" type="text"><br>
            <span class="text">Avg speed</span> <input id="_z" class="oInp oOutp" disabled="disabled" size="3" type="text" style="width: 3em;">
          </div>
          <p><input class="clcbtn waves-effect waves-light btn col s12" type="button" value="Solve"></p>
        </article>


      </div>

    </div>
  </div>
</div>

但问题是按钮不在卡内,只有一半。感谢任何帮助。

将行添加到第 4 个 div,其中包含 class 名片内容

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
    
    <div class="row">
      <div class="col s12">
        <div class="card teal lighten-4">
          <div class="card-content row">
            <article id="post-946650" class="post-946650 page type-page status-publish hentry">
              <p><input id="id_func_calc" type="hidden" value="[[{&quot;assign&quot;:[&quot;#_z&quot;],&quot;eval&quot;:&quot;#y/#x&quot;}]]"></p>
              <div class="mathquill-embedded-latex mathquill-rendered-math">
                  <span class="text">Travel time(in minutes)</span>
                  <input id="x" class="oInp" size="3" type="text" autocomplete="off"/><br>
                
                  <span class="text">Miles to destination</span> 
                  <input id="y" class="oInp" size="3" type="text"><br>
                
                  <span class="text">Avg speed</span> 
                  <input id="_z" class="oInp oOutp" disabled="disabled" size="3" type="text" style="width: 3em;"><br>
                
                  <p><input class="clcbtn waves-effect waves-light btn col s12" type="button" value="Solve"></p>
                
              </div>
            </article>
          </div>
        </div>
      </div>
    </div>