mirror of
https://github.com/jdan/98.css.git
synced 2025-03-14 15:49:57 +01:00
fix fieldset margins
This commit is contained in:
parent
0f3ee2f0a9
commit
92932e64b0
@ -78,7 +78,7 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<section class="align-right">
|
||||
<section class="field-row align-right">
|
||||
<button>OK</button>
|
||||
<button>Cancel</button>
|
||||
</section>
|
||||
|
@ -149,12 +149,8 @@ button:focus {
|
||||
margin-top: var(--element-spacing);
|
||||
}
|
||||
|
||||
section.align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
section * + * {
|
||||
margin-left: var(--grouped-element-spacing);
|
||||
.align-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
@ -162,6 +158,7 @@ fieldset {
|
||||
box-shadow: var(--border-sunken-outer), var(--border-raised-inner);
|
||||
padding: calc(2 * var(--border-width) + var(--element-spacing));
|
||||
padding-block-start: var(--element-spacing);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
|
Loading…
x
Reference in New Issue
Block a user