feat(dees-pdf-viewer): update styles to improve layout with full height and hidden overflow
This commit is contained in:
@@ -121,6 +121,8 @@ export const viewerStyles = [
|
||||
border-right: 1px solid ${cssManager.bdTheme('hsl(214 31% 91%)', 'hsl(217 25% 22%)')};
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
@@ -160,6 +162,7 @@ export const viewerStyles = [
|
||||
.sidebar-content {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding: 12px;
|
||||
display: block;
|
||||
overscroll-behavior: contain;
|
||||
|
||||
Reference in New Issue
Block a user