File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,31 @@ ui5-shellbar.header {
1212 padding-inline-end : 1.25rem ;
1313 box-shadow : var (--sapContainer_Shadow1 );
1414 }
15+
16+ .header-logo {
17+ img [alt = ' SAP' ] {
18+ height : 32px ;
19+ }
20+ }
21+ }
22+
23+ @media (max-width : 340px ) {
24+ ui5-shellbar .header {
25+ ui5-button [accessible-name = ' collapse-sidebar' ] {
26+ margin-inline : 0rem ;
27+ }
28+
29+ & ::part (root ) {
30+ padding-inline-start : 0.5rem ;
31+ padding-inline-end : 0.75rem ;
32+ }
33+
34+ .header-logo {
35+ img [alt = ' SAP' ] {
36+ height : 30px ;
37+ }
38+ }
39+ }
1540}
1641
1742.snowflake {
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ export function Logo(props: any) {
55 const { t } = useTranslation ( ) ;
66
77 return (
8- < FlexBox alignItems = "Center" slot = { props . slot } >
9- < img alt = "SAP" src = "\assets\sap-logo.svg" style = { { height : '32px' } } />
8+ < FlexBox className = "header-logo" alignItems = "Center" slot = { props . slot } >
9+ < img alt = "SAP" src = "\assets\sap-logo.svg" />
1010 < Title level = "H5" > { t ( 'common.product-title' ) } </ Title >
1111 </ FlexBox >
1212 ) ;
You can’t perform that action at this time.
0 commit comments