mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[kbn-grid-layout] Fix mobile styles (#212312)
## Summary This PR fixes a broken style introduced in https://github.com/elastic/kibana/pull/210285 where, when rewriting the single column styles from strings to objects, I accidentally set the property `gridTemplateAreas` instead of `gridTemplateColumns` - this resulted in the single column / mobile view being broken: | Before | After | |--------|--------| |  |  | ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
parent
6bf5166018
commit
464a471446
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ const styles = {
|
|||
singleColumn: css({
|
||||
'&.kbnGrid--mobileView': {
|
||||
'.kbnGridRow': {
|
||||
gridTemplateAreas: '100%',
|
||||
gridTemplateColumns: '100%',
|
||||
gridTemplateRows: 'auto',
|
||||
gridAutoFlow: 'row',
|
||||
gridAutoRows: 'auto',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue