diff --git a/frontend/assets/css/main.css b/frontend/assets/css/main.css index 5ae07af..e0a36ce 100644 --- a/frontend/assets/css/main.css +++ b/frontend/assets/css/main.css @@ -23,6 +23,9 @@ h1,h2,h3,h4,h5,h6,p,a { body { background-color: var(--color-surface); + + padding: 0; + margin: 0; } /* Different title settings */ diff --git a/frontend/components/SideBar.vue b/frontend/components/SideBar.vue index a82db1f..ea19e14 100644 --- a/frontend/components/SideBar.vue +++ b/frontend/components/SideBar.vue @@ -3,7 +3,7 @@ import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon defineProps<{ championName: String - championLanes: any + championLanes?: Array }>() const emit = defineEmits<{ stateChange: [state: String, lane: number] @@ -44,11 +44,13 @@ function handleStateChange(newState : string, newLane: number) { .sidebar-container { background-color: #2B2826; width: 300px; - height: 100%; - - position: absolute; + /* height: 100%; */ + flex-shrink: 0; + + margin: 0px; + /* position: absolute; top: 0px; - left: 0px; + left: 0px; */ } .sidebar-link { user-select: none; diff --git a/frontend/components/TierlistTier.vue b/frontend/components/TierlistTier.vue new file mode 100644 index 0000000..711408a --- /dev/null +++ b/frontend/components/TierlistTier.vue @@ -0,0 +1,57 @@ + + + + + \ No newline at end of file diff --git a/frontend/pages/champion/[alias].vue b/frontend/pages/champion/[alias].vue index 0dbeadb..8738319 100644 --- a/frontend/pages/champion/[alias].vue +++ b/frontend/pages/champion/[alias].vue @@ -20,19 +20,20 @@ function updateState(newState : string, newLane : number) { {{ championData.name }} - BuildPath +
+ - -
+

Sorry, there is no data for this champion :(

- - + +
\ No newline at end of file