From efcc2061b85ae67b1e662439ffb43bc4feeec4d2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 10 Aug 2015 15:17:15 +0100 Subject: [PATCH] Hopefully port over ndarilek's accessibility changes to Vector (albeit with list elements contained within RoomView) --- skins/base/css/organisms/RoomView.css | 2 ++ skins/base/views/organisms/LeftPanel.js | 4 ++-- skins/base/views/organisms/RightPanel.js | 4 ++-- skins/base/views/organisms/RoomView.js | 8 ++++---- skins/base/views/pages/MatrixChat.js | 8 ++++---- src/controllers/organisms/RoomView.js | 2 +- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/skins/base/css/organisms/RoomView.css b/skins/base/css/organisms/RoomView.css index 5f10bbefe..0e7c183f1 100644 --- a/skins/base/css/organisms/RoomView.css +++ b/skins/base/css/organisms/RoomView.css @@ -82,6 +82,8 @@ limitations under the License. .mx_RoomView_MessageList { width: 100%; + list-style-type: none; + padding: 0px; } .mx_RoomView_MessageList h2 { diff --git a/skins/base/views/organisms/LeftPanel.js b/skins/base/views/organisms/LeftPanel.js index 165759109..a7c2a8b91 100644 --- a/skins/base/views/organisms/LeftPanel.js +++ b/skins/base/views/organisms/LeftPanel.js @@ -29,12 +29,12 @@ module.exports = React.createClass({ render: function() { return ( -
+
+ ); } }); diff --git a/skins/base/views/organisms/RightPanel.js b/skins/base/views/organisms/RightPanel.js index 5123691e3..db4634203 100644 --- a/skins/base/views/organisms/RightPanel.js +++ b/skins/base/views/organisms/RightPanel.js @@ -66,12 +66,12 @@ module.exports = React.createClass({ } return ( -
+
+ ); } }); diff --git a/skins/base/views/organisms/RoomView.js b/skins/base/views/organisms/RoomView.js index 9bcde890e..fe97a9c72 100644 --- a/skins/base/views/organisms/RoomView.js +++ b/skins/base/views/organisms/RoomView.js @@ -170,11 +170,11 @@ module.exports = React.createClass({
-
-
-
+
    +
  1. +
  2. {this.getEventTiles()} -
+
diff --git a/skins/base/views/pages/MatrixChat.js b/skins/base/views/pages/MatrixChat.js index 2a4472fca..15da07f9d 100644 --- a/skins/base/views/pages/MatrixChat.js +++ b/skins/base/views/pages/MatrixChat.js @@ -81,9 +81,9 @@ module.exports = React.createClass({
-
+
{page_element} -
+ {right_panel}
@@ -93,9 +93,9 @@ module.exports = React.createClass({ return (
-
+
{page_element} -
+ {right_panel}
); diff --git a/src/controllers/organisms/RoomView.js b/src/controllers/organisms/RoomView.js index 2042885c6..2629e33b0 100644 --- a/src/controllers/organisms/RoomView.js +++ b/src/controllers/organisms/RoomView.js @@ -353,7 +353,7 @@ module.exports = { } if (!TileType) continue; ret.unshift( - +
  • ); if (dateSeparator) { ret.unshift(dateSeparator);