Commit d623a0ee64984e05f91740aedf6859f43a68ad6c

Authored by Igor Kulikov
1 parent c66b06b8

UI: Layout improvements.

... ... @@ -45,15 +45,12 @@ md-sidenav.tb-sidenav-details {
45 45 width: 100% !important;
46 46 max-width: 100% !important;
47 47 z-index: 59 !important;
48   - @media (min-width: $layout-breakpoint-sm) {
  48 + @media (min-width: $layout-breakpoint-gt-sm) {
49 49 width: 80% !important;
50 50 }
51   - @media (min-width: $layout-breakpoint-md) {
  51 + @media (min-width: $layout-breakpoint-gt-md) {
52 52 width: 65% !important;
53 53 }
54   - @media (min-width: $layout-breakpoint-lg) {
55   - width: 45% !important;
56   - }
57 54 tb-dashboard {
58 55 md-content {
59 56 background-color: $primary-hue-3;
... ...
... ... @@ -120,7 +120,7 @@ class ThingsboardAceEditor extends React.Component {
120 120 name={this.props.form.title}
121 121 value={this.state.value}
122 122 readOnly={this.props.form.readonly}
123   - editorProps={{$blockScrolling: true}}
  123 + editorProps={{$blockScrolling: Infinity}}
124 124 enableBasicAutocompletion={true}
125 125 enableSnippets={true}
126 126 enableLiveAutocompletion={true}
... ...
... ... @@ -37,3 +37,9 @@ $layout-breakpoint-sm: 960px !default;
37 37 $layout-breakpoint-md: 1280px !default;
38 38 $layout-breakpoint-xmd: 1600px !default;
39 39 $layout-breakpoint-lg: 1920px !default;
  40 +
  41 +$layout-breakpoint-gt-xs: 601px !default;
  42 +$layout-breakpoint-gt-sm: 961px !default;
  43 +$layout-breakpoint-gt-md: 1281px !default;
  44 +$layout-breakpoint-gt-xmd: 1601px !default;
  45 +$layout-breakpoint-gt-lg: 1921px !default;
... ...