File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
projects/igniteui-angular/src/lib/core/styles/components/navbar Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 8383 ));
8484}
8585
86+ @mixin line-clamp ($lines , $inline , $vertical ) {
87+ display : if ($inline , -webkit-inline-box , -webkit-box );
88+ -webkit-line-clamp : if ($lines , $lines , ' initial' );
89+ -webkit-box-orient : if ($vertical , ' vertical' , ' initial' );
90+ overflow : hidden ;
91+ }
92+
8693/// @param {Map} $theme - The theme used to style the component.
8794/// @requires {mixin} igx-root-css-vars
8895/// @requires em
110117 color : --var ($theme , ' text-color' );
111118 box-shadow : --var ($theme , ' shadow' );
112119 z-index : 4 ;
120+ overflow : hidden ;
113121 }
114122
115123 %igx-navbar-part {
118126 }
119127
120128 %igx-navbar-title {
129+ @include line-clamp (4 , true, true);
121130 margin : $navbar-title-margin ;
122131 flex-grow : 1 ;
123132 user-select : text ;
You can’t perform that action at this time.
0 commit comments