File tree Expand file tree Collapse file tree 1 file changed +37
-28
lines changed
Expand file tree Collapse file tree 1 file changed +37
-28
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" top-app-bar" >
3- <icon
4- v-if =" showMenuIcon"
5- class =" top-app-bar__menu"
6- name =" menu-outline"
7- :width =" iconSize"
8- :height =" iconSize"
9- @click =" emit('on-menu-click')"
10- />
11- <router-link
12- v-else-if =" showBackNavigation"
13- :to =" handleRouterBack"
14- >
3+ <div class =" top-app-bar__menu-container" >
154 <icon
16- name =" arrow-left-outline"
5+ v-if =" showMenuIcon"
6+ class =" top-app-bar__menu"
7+ name =" menu-outline"
178 :width =" iconSize"
189 :height =" iconSize"
10+ @click =" emit('on-menu-click')"
1911 />
20- </router-link >
21- <img
22- v-if =" logoUrl"
23- class =" top-app-bar__logo-image"
24- :src =" logoUrl"
25- :alt =" title"
26- >
27- <h2
28- v-else
29- class =" top-app-bar__title"
30- >
31- {{ title }}
32- </h2 >
12+ <router-link
13+ v-else-if =" showBackNavigation"
14+ :to =" handleRouterBack"
15+ >
16+ <icon
17+ class =" top-app-bar__back-arrow"
18+ name =" arrow-left-outline"
19+ :width =" iconSize"
20+ :height =" iconSize"
21+ />
22+ </router-link >
23+ <img
24+ v-if =" logoUrl"
25+ class =" top-app-bar__logo-image"
26+ :src =" logoUrl"
27+ :alt =" title"
28+ >
29+ <h2
30+ v-else
31+ class =" top-app-bar__title"
32+ >
33+ {{ title }}
34+ </h2 >
35+ </div >
3336 <div class =" top-app-bar__actions" >
3437 <!-- @slot Slot utilizado para os botões de action do lado direito-->
3538 <slot name =" actions" />
@@ -141,10 +144,16 @@ function handleRouterBack() {
141144 width: 100 % ;
142145 z- index: $z- index- modal;
143146
144- & __menu {
147+ & __menu, & __back - arrow {
145148 cursor: pointer;
146149 }
147150
151+ & __menu- container {
152+ display: flex;
153+ align- items: center;
154+ gap: spacer (6 );
155+ }
156+
148157 & __title {
149158 @include subheading- 2 ;
150159 }
@@ -155,7 +164,7 @@ function handleRouterBack() {
155164 }
156165
157166 & __logo- image {
158- height: 100 % ;
167+ height: 50px ;
159168 }
160169}
161170
You can’t perform that action at this time.
0 commit comments