Browse Source

Fixed the error view styles

Corey Prophitt 1 year ago
parent
commit
f1e6f73aab
2 changed files with 13 additions and 11 deletions
  1. 12 10
      extension/css/browser-action.css
  2. 1 1
      extension/html/index.html

+ 12 - 10
extension/css/browser-action.css

@@ -84,6 +84,14 @@ ul.striped-list > li:last-child {
  *  => Credit goes to: https://loading.io/css/
  */
 
+.loading-container {
+  height: 100%;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+}
+
 .loader {
   display: inline-block;
   position: relative;
@@ -143,8 +151,10 @@ ul.striped-list > li:last-child {
   margin-left: 3px;
 }
 
-.error {
-  margin: 10px;
+.error-view {
+  margin: 15px;
+  font-size: 14px;
+  color: #ff5551;
 }
 
 .hidden {
@@ -156,11 +166,3 @@ ul.striped-list > li:last-child {
   font-size: 12px;
   color: #666;
 }
-
-.loading-container {
-  height: 100%;
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  justify-content: center;
-}

+ 1 - 1
extension/html/index.html

@@ -33,7 +33,7 @@
 
     <!-- This view is for errors, for instance incognito mode with no local storage data. -->
     <div class="error-view hidden">
-      Oops! Looks like we were unable to parse LinkedIn's local storage. It may help if you log in to LinkedIn prior to using this extension.
+      Looks like we were unable to parse LinkedIn's local storage. It may help if you log in to LinkedIn prior to using this extension.
     </div>
 
     <script src="../js/browser-action.js"></script>