Skip to content

Commit

Permalink
Merge pull request #12 from vbeskrovnov/fix_layout
Browse files Browse the repository at this point in the history
Adjusted layout to eliminate horizontal scrolling and enhance margin settings
  • Loading branch information
chadwallacehart authored Mar 4, 2024
2 parents 0582611 + cf7a059 commit 59b8023
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
6 changes: 5 additions & 1 deletion include/sdpDisplay.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
margin: 1px !important;
padding: 5px 10px 5px 10px !important;
}
.container {
width: 100% !important;
max-width: none !important;
}

/******app CSS classes******/
.section-label {
Expand All @@ -33,7 +37,7 @@
}

#description {
margin-left: 10px;
margin-right: 15px;
margin-bottom: 5px;
position: fixed;
overflow-wrap: normal;
Expand Down
26 changes: 14 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@
<script type="text/javascript" src="include/sdpDisplay.js"></script>
</head>
<body>
<div class="row">
<div class="col-sm-12">
<h1>Anatomy of a WebRTC SDP</h1>
<p>See the source post by Antón Román for more details.</p>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<div id="lines" class="well"></div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h1>Anatomy of a WebRTC SDP</h1>
<p>See the source post by Antón Román for more details.</p>
</div>
</div>
<div class="col-sm-4">
<div id="description">
Click/Hover your cursor at a code/line to view its description.
<div class="row">
<div class="col-sm-8">
<div id="lines" class="well"></div>
</div>
<div class="col-sm-4" >
<div id="description">
Click/Hover your cursor at a code/line to view its description.
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 59b8023

Please sign in to comment.