Skip to content

Commit 1c4d8d1

Browse files
authored
Form button group styling (#16)
* Add forms button styling * Change index import * Replace use with import * Prettier
1 parent a26f9b3 commit 1c4d8d1

4 files changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
- Added styling for button groups
910

1011
## [2.1.0] - 2022-12-01
1112

styles/Form/_form.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
form div[role="group"] {
2+
display: flex;
3+
gap: 0.25rem;
4+
5+
button {
6+
flex: 1 1 auto;
7+
}
8+
}

styles/Form/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@use "form";

styles/Layout/SideBarLayout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import "../../node_modules/bootstrap/scss/functions";
22
@import "../../node_modules/bootstrap/scss/variables";
33
@import "../../node_modules/bootstrap/scss/mixins";
4+
@import "../Form";
45

56
$topnav-base-height: 4rem;
67
$usernav-base-height: calc(#{$topnav-base-height} - 1rem);

0 commit comments

Comments
 (0)