I have created a simple MDC Card with some MDC Textfield buttons on it. However the textfield boxes are not rendering properly. As you can see from the image below, there are gaps in the top right and left corners. Below is my code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Material Card Example</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
<link rel="stylesheet" href="https://unpkg.com/material-components-web/dist/material-components-web.min.css">
</head>
<body>
<div class="mdc-card">
<div class="">
<div class="card-header">
<div class="mdc-card__actions">
<div class="mdc-text-field mdc-text-field--box username">
<input type="text" class="text-field--outlined" id="username-input" name="username" required>
<label class="mdc-floating-label" for="username-input">Email</label>
<div class="mdc-line-ripple"></div>
</div>
</div>
<div class="mdc-card__actions">
<div class="mdc-text-field mdc-text-field--box password">
<input type="password" class="text-field--outlined" id="password-input" name="password" required minlength="8">
<label class="mdc-floating-label" for="password-input">Password</label>
<div class="mdc-line-ripple"></div>
</div>
</div>
</div>
<script src="https://unpkg.com/material-components-web/dist/material-components-web.min.js"></script>
</body>
</html>