Skip to content

Commit

Permalink
Fixed fieldset styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tiller committed Feb 7, 2022
1 parent 84d48a4 commit d41ebf7
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 23 deletions.
11 changes: 10 additions & 1 deletion demo/typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,17 @@ <h4>Blockquote</h4>

<hr />

<h4>Code Elements</h4>

<h4>Fieldset</h4>
<fieldset>
<legend>Legend</legend>
<p>Content</p>
<div>More Content</div>
</fieldset>

<hr />

<h4>Code Elements</h4>
<h5>Inline Code</h5>
<p>
For example, <code>&lt;section&gt;</code> should be wrapped as inline.
Expand Down
5 changes: 3 additions & 2 deletions dist/tower-dark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -11277,10 +11277,11 @@ fieldset {
}
fieldset legend {
width: auto;
margin-left: 0.3rem;
font-size: 1rem;
float: none;
font-size: 1.1rem;
padding-left: 0.3rem;
padding-right: 0.3rem;
margin-left: 0.3rem;
margin-bottom: 0;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/tower-dark-theme.min.css

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions dist/tower-light-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -11218,15 +11218,6 @@ label.form-check, label.form-check-inline {
text-shadow: 2px 2px 5px black;
}

.btn.btn-outline-light {
color: #aaa;
border-color: #ccc;
}

::-webkit-calendar-picker-indicator {
filter: invert(30%);
}

.text-faded {
opacity: 0.7;
}
Expand Down Expand Up @@ -11285,9 +11276,19 @@ fieldset {
}
fieldset legend {
width: auto;
margin-left: 0.3rem;
font-size: 1rem;
float: none;
font-size: 1.1rem;
padding-left: 0.3rem;
padding-right: 0.3rem;
margin-left: 0.3rem;
margin-bottom: 0;
}

.btn.btn-outline-light {
color: #aaa;
border-color: #ccc;
}

::-webkit-calendar-picker-indicator {
filter: invert(30%);
}
2 changes: 1 addition & 1 deletion dist/tower-light-theme.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tower-bootstrap-theme",
"version": "5.2.1",
"version": "5.2.2",
"description": "",
"main": "index.js",
"author": "StrutTower",
Expand Down
7 changes: 4 additions & 3 deletions src/_other.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ fieldset {

legend {
width: auto;
margin-left: .3rem;
font-size: 1rem;
float: none;
font-size:1.1rem;
padding-left: 0.3rem;
padding-right: 0.3rem;
margin-left: .3rem;
margin-bottom: 0;
}
}
}
5 changes: 2 additions & 3 deletions src/light-theme.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

@import "variables";
@import "variables";
@import "variablesLight";


Expand All @@ -8,5 +7,5 @@
@import "input";
@import "carousel";
@import "breadcrumbs";
@import "fixesLight";
@import "other";
@import "fixesLight";

0 comments on commit d41ebf7

Please sign in to comment.