diff --git a/src/_headings.scss b/src/_headings.scss index b9cd004..a8a3e61 100644 --- a/src/_headings.scss +++ b/src/_headings.scss @@ -27,6 +27,7 @@ a.title h1.title { .cp__header, .cp__right-sidebar-topbar { height: var(--ct-header-height); + width: 100%; } .is-mac.is-electron { @@ -77,6 +78,17 @@ a.title h1.title { align-items: center; } +#repo-switch { + white-space: nowrap; +} + +#repo-name { + /* Show the last part of the repo instead */ + direction: rtl; + text-align: left; + max-width: 120px; +} + .cp__right-sidebar-settings a { opacity: 0.6; &:hover { diff --git a/src/_root.scss b/src/_root.scss index a4cc369..8612eca 100644 --- a/src/_root.scss +++ b/src/_root.scss @@ -118,4 +118,5 @@ body { position: absolute; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACHSURBVHgB7ddRCgIhFIbRa8wK3EH731OtQLdQCIUPDUP2IDidA4Lov4EvAoC11Frv7dhHXAIAAGAOLdZpMQAAYBYt1mkxAABgFi3WaTEAAOBHpZTUzt7ftvf47pKc8zW+sPo+pXR7XT/2W9A8AgAA/t5RW43uT9liR201uj9ri422lRYDWNETCUrqfCW92rQAAAAASUVORK5CYII=) repeat; + background: none; } diff --git a/src/_views.scss b/src/_views.scss index 2332e2d..ae55793 100644 --- a/src/_views.scss +++ b/src/_views.scss @@ -1,9 +1,11 @@ -.theme-inner { - background: var(--ls-primary-background-color); +#main-container { + position: absolute; + width: 100%; + overflow-x: hidden; } -#main-content-container { - margin-top: 1rem !important; +.theme-inner { + background: var(--ls-primary-background-color); } .page { @@ -14,9 +16,8 @@ width: 100%; } -.cp__sidebar-main-content > div { +.cp__sidebar-main-content:not([data-is-global-graph-pages=true]) > div { padding: 16px 32px; - max-width: var(--ls-main-content-max-width); } /* Right side bar */ diff --git a/src/main.scss b/src/main.scss index 2627bb4..5e2192b 100644 --- a/src/main.scss +++ b/src/main.scss @@ -9,5 +9,6 @@ @import "popups.scss"; @import "queries.scss"; @import "markers.scss"; +@import "graph.scss"; @import "theme_dark.scss"; -@import "theme_light.scss"; +@import "theme_light.scss"; \ No newline at end of file