CSS overflow properties

This commit is contained in:
Mo Bitar
2018-04-12 12:41:24 -05:00
parent bdf9c3df80
commit 0bbc86f94e
3 changed files with 2 additions and 4 deletions

View File

@@ -829,7 +829,6 @@ class ComponentManager {
} }
handleSetSizeEvent(component, data) { handleSetSizeEvent(component, data) {
var setSize = function(element, size) { var setSize = function(element, size) {
var widthString = typeof size.width === 'string' ? size.width : `${data.width}px`; var widthString = typeof size.width === 'string' ? size.width : `${data.width}px`;
var heightString = typeof size.height === 'string' ? size.height : `${data.height}px`; var heightString = typeof size.height === 'string' ? size.height : `${data.height}px`;
@@ -854,7 +853,6 @@ class ComponentManager {
setSize(content, data); setSize(content, data);
} }
} }
} }

View File

@@ -72,7 +72,7 @@ $heading-height: 75px;
#note-tags-component-container { #note-tags-component-container {
height: 50px; height: 50px;
overflow: scroll; // Required for expired sub to not overflow overflow: auto; // Required for expired sub to not overflow
iframe { iframe {
height: 50px; height: 50px;

View File

@@ -78,7 +78,7 @@
.component-view { .component-view {
flex-grow: 1; flex-grow: 1;
display: flex; display: flex;
overflow: auto; // overflow: auto; // not sure why we need this. Removed because it creates unncessary scroll bars. Tested on folders extension, creates horizontal scrollbar at bottom on windows
.sn-component { .sn-component {
min-width: 100%; min-width: 100%;