Browse Source

Changed table-condensed to table-sm

n1474335 7 years ago
parent
commit
ab44100312

+ 1 - 1
src/core/lib/DateTime.mjs

@@ -49,7 +49,7 @@ export const DATETIME_FORMATS = [
  * MomentJS DateTime formatting examples.
  */
 export const FORMAT_EXAMPLES = `Format string tokens:
-<table class="table table-striped table-hover table-condensed table-bordered" style="font-family: sans-serif">
+<table class="table table-striped table-hover table-sm table-bordered" style="font-family: sans-serif">
   <thead>
     <tr>
       <th>Category</th>

+ 1 - 1
src/core/operations/Magic.mjs

@@ -77,7 +77,7 @@ class Magic extends Operation {
         const currentRecipeConfig = this.state.opList.map(op => op.config);
 
         let output = `<table
-                class='table table-hover table-condensed table-bordered'
+                class='table table-hover table-sm table-bordered'
                 style='table-layout: fixed;'>
             <tr>
                 <th>Recipe (click to load)</th>

+ 1 - 1
src/core/operations/ParseIPv4Header.mjs

@@ -97,7 +97,7 @@ class ParseIPv4Header extends Operation {
             checksumResult = givenChecksum + " (incorrect, should be " + correctChecksum + ")";
         }
 
-        output = `<table class='table table-hover table-condensed table-bordered table-nonfluid'><tr><th>Field</th><th>Value</th></tr>
+        output = `<table class='table table-hover table-sm table-bordered table-nonfluid'><tr><th>Field</th><th>Value</th></tr>
 <tr><td>Version</td><td>${version}</td></tr>
 <tr><td>Internet Header Length (IHL)</td><td>${ihl} (${ihl * 4} bytes)</td></tr>
 <tr><td>Differentiated Services Code Point (DSCP)</td><td>${dscp}</td></tr>

+ 1 - 1
src/core/operations/ToTable.mjs

@@ -147,7 +147,7 @@ class ToTable extends Operation {
          */
         function htmlOutput(tableData) {
             // Start the HTML output with suitable classes for styling.
-            let output = "<table class='table table-hover table-condensed table-bordered table-nonfluid'>";
+            let output = "<table class='table table-hover table-sm table-bordered table-nonfluid'>";
 
             // If the first row is a header then put it in <thead> with <th> cells.
             if (firstRowHeader) {