Add button for creating tag to tags' index view
MODIFY
resources/assets/sass/components/input.scss
resources/assets/sass/components/input.scss
}
}
-input[type=text], input[type=email], input[type=password], select, button.button {
+input[type=text], input[type=email], input[type=password], select, .button {
font: inherit;
border-radius: $dimensions-box-border-radius;
}
@@ -34,10 +34,6 @@ select {
}
button.button {
- padding: 10px 20px;
- font-size: 14px;
- color: #FFF;
- background: $colors-primary;
border: none;
&:hover {
@@ -51,3 +47,12 @@ button.button {
background: none;
}
}
+
+.button {
+ padding: 10px 20px;
+ display: inline-block;
+ font-size: 14px;
+ font-weight: 600;
+ color: #FFF;
+ background: $colors-primary;
+}

MODIFY
resources/views/tags/index.blade.php
resources/views/tags/index.blade.php
@section('body')
<div class="wrapper my-4">
- <div class="color-dark mb-2">{{ __('general.tags') }}</div>
+ <div class="row mb-4">
+ <div class="row__column row__column--middle color-dark">{{ __('general.tags') }}</div>
+ <div class="row__column row__column--compact row__column--middle">
+ <a href="/tags/create" class="button">Create Tag</a>
+ </div>
+ </div>
<div class="box">
<div class="box__section box__section--header row">
<div class="row__column">Name</div>

Add button for creating tag to tags' index view