File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,13 +88,16 @@ UI.tabs.tabWidget = function (options) {
8888 ( vertical ? 'row' : 'column' ) + ( flipped ? '-reverse;' : ';' )
8989
9090 navElement = rootElement . appendChild ( dom . createElement ( 'nav' ) )
91- navElement . setAttribute ( ' style' , 'margin: 0;' )
91+ navElement . style = 'margin: 0;'
9292
9393 mainElement = rootElement . appendChild ( dom . createElement ( 'main' ) )
9494
9595 mainElement . setAttribute ( 'style' , 'margin: 0; width:100%; height: 100%;' ) // override tabbedtab.css
9696 tabContainer = navElement . appendChild ( dom . createElement ( 'ul' ) )
97- tabContainer . style = 'list-style-type: none;' // No bullet please
97+ tabContainer . style = 'list-style-type: none;' + // No bullet please ...
98+ 'display: flex; height: 100%; width: 100%; flex-direction: ' +
99+ ( vertical ? 'column' : 'row' ) // + (flipped ? '-reverse;' : ';')
100+ // Never flip the direction of readuing the tabs, assuming people read left to right and top to bottom
98101
99102 tabElement = 'li'
100103
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ <h2>Test Tabs widget</h2>
7171 ui:orientation 0; ui:ordered true;
7272 ui:subject <#it>.
7373<#it>
74- trip:attachmentList ( <http://aclu.org/> <http://cnn .com/> <https://webfoundation.org/> ) .
74+ trip:attachmentList ( <http://aclu.org/> <http://inrupt .com/> <https://webfoundation.org/> ) .
7575
7676#ends
7777
You can’t perform that action at this time.
0 commit comments