From 1868e53b26c31c0af1582903ea0fbde73bf95355 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Wed, 6 Aug 2014 10:19:56 -0500
Subject: [PATCH] i18n: rtl: Fix SCP top-level navigation layout

---
 css/rtl.css                  | 2 ++
 include/staff/header.inc.php | 4 ++--
 scp/css/scp.css              | 5 ++---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/css/rtl.css b/css/rtl.css
index ba61617f5..a9a3e7cb0 100644
--- a/css/rtl.css
+++ b/css/rtl.css
@@ -47,10 +47,12 @@
     padding-right: 0;
     padding-left: 1.5em;
 }
+.rtl #msg_notice,
 .rtl #warning_bar,
 .rtl #msg_error,
 .rtl .error-banner {
     background-position: 99% 50%;
+    background-position: calc(100% - 10px) 50%;
     padding-left: 10px;
     padding-right: 36px;
 }
diff --git a/include/staff/header.inc.php b/include/staff/header.inc.php
index 8754a2926..bca7df85e 100644
--- a/include/staff/header.inc.php
+++ b/include/staff/header.inc.php
@@ -60,8 +60,8 @@ if (($lang = Internationalization::getCurrentLanguage())
         echo sprintf('<div id="notice_bar">%s</div>', $ost->getNotice());
     ?>
     <div id="header">
-        <a href="index.php" class="no-pjax" id="logo">osTicket &mdash; <?php echo __('Customer Support System'); ?></a>
-        <p id="info"><?php echo sprintf(__('Welcome, %s.'), '<strong>'.$thisstaff->getFirstName().'</strong>'); ?>
+        <a href="index.php" class="no-pjax pull-left" id="logo">osTicket &mdash; <?php echo __('Customer Support System'); ?></a>
+        <p id="info" class="pull-right"><?php echo sprintf(__('Welcome, %s.'), '<strong>'.$thisstaff->getFirstName().'</strong>'); ?>
            <?php
             if($thisstaff->isAdmin() && !defined('ADMINPAGE')) { ?>
             | <a href="admin.php" class="no-pjax"><?php echo __('Admin Panel'); ?></a>
diff --git a/scp/css/scp.css b/scp/css/scp.css
index d608875c2..09df3b92d 100644
--- a/scp/css/scp.css
+++ b/scp/css/scp.css
@@ -99,7 +99,6 @@ div#header a {
 
 #logo {
     display:block;
-    float:left;
     width:190px;
     height:76px;
     text-decoration:none;
@@ -110,8 +109,8 @@ div#header a {
 
 #header p {
     display:block;
-    width:430px;
-    float:right;
+    width:auto;
+    max-width:630px;
     margin:10px;
     background:#eee;
     border:1px solid #ccc;
-- 
GitLab