diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-26 03:33:25 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-07-10 21:01:07 -0400 |
| commit | 2ab00387fe8c335fe554249cd354eadfdb79d57b (patch) | |
| tree | ce7ae5c6d993f93a58f9a1baaf4492b324abdfa8 /src/App.scss | |
| parent | e1d6e56e1b5b189f0738fb174c23965b51bcd8f2 (diff) | |
clean up + add btn-group css class
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss index e4c764bf..1299e05d 100644 --- a/src/App.scss +++ b/src/App.scss @@ -283,6 +283,31 @@ i[class*=icon-] { color: var(--icon, $fallback--icon) } +.btn-block { + display: block; + width: 100%; +} + +.btn-group { + position: relative; + display: inline-flex; + vertical-align: middle; + + button { + position: relative; + flex: 1 1 auto; + + &:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + } +} .container { display: flex; |
