Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97d3bbd

Browse filesBrowse files
authored
Merge pull request #71 from coreui/feat-scss-mobile-breakpoint
v2.1.12
2 parents 0734ca6 + 04458c0 commit 97d3bbd
Copy full SHA for 97d3bbd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

61 files changed

+461
-153
lines changed

‎CHANGELOG.md

Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
## v2.1.12
2+
- fix(scss): new mobile breakpoint variables
3+
```scss
4+
// Breakpoints for mobile defaults:
5+
$breakpoint-mobile-up: lg !default;
6+
$breakpoint-mobile-down: md !default;
7+
```
8+
usage: to shift mobile breakpoint in your template:
9+
1. override `_variables.scss`
10+
```scss
11+
// Variable overrides
12+
$breakpoint-mobile-up: md;
13+
$breakpoint-mobile-down: sm;
14+
```
15+
16+
2. and complementary changes in `index.html`
17+
- body: `sidebar-lg-show` -> `sidebar-md-show`
18+
- mobile sidebar toggler button: `d-lg-none` -> `d-md-none`
19+
- sidebar toggler button:
20+
- `d-md-down-none` -> `d-sm-down-none`
21+
- `data-toggle="sidebar-lg-show"` -> `data-toggle="sidebar-md-show"`
22+
23+
###### Dependencies update:
24+
- update `autoprefixer` to `^9.6.0`
25+
- update `rollup` to `^1.15.1`
26+
- update `stylelint` to `^10.1.0`
27+
128
## v2.1.11
229
- fix(sidebar): add optional container `sidebar-scroll`. Thanks @MartijnBastiaansen
330
- fixes an issue where `sidebar-toggler` causes an error when there is no `sidebar-nav` element in it

‎README.md

Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ $ npm install @coreui/coreui --save
5959
### Yarn
6060

6161
``` bash
62-
$ yarn add @coreui/coreui@2.1.11
62+
$ yarn add @coreui/coreui@2.1.12
6363
```
6464

6565
### Composer
6666

6767
``` bash
68-
$ composer require coreui/coreui:2.1.11
68+
$ composer require coreui/coreui:2.1.12
6969
```
7070

7171
## Usage

‎dist/css/coreui-standalone.css

Copy file name to clipboardExpand all lines: dist/css/coreui-standalone.css
+121-1Lines changed: 121 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/css/coreui-standalone.css.map

Copy file name to clipboardExpand all lines: dist/css/coreui-standalone.css.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/css/coreui-standalone.min.css

Copy file name to clipboardExpand all lines: dist/css/coreui-standalone.min.css
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/css/coreui-standalone.min.css.map

Copy file name to clipboardExpand all lines: dist/css/coreui-standalone.min.css.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.