Compare commits

...

1 Commits

Author SHA1 Message Date
Teffen Ellis
730a28a571 web: Remove extra-wide field groups. 2025-08-04 11:54:38 +02:00
2 changed files with 4 additions and 24 deletions

View File

@@ -174,7 +174,6 @@ export function renderForm(
>
</ak-hidden-text-input>
<ak-form-element-horizontal
flow-direction="row"
label=${msg("Redirect URIs/Origins (RegEx)")}
name="redirectUris"
>

View File

@@ -59,18 +59,6 @@ export class HorizontalFormElement extends AKElement {
var(--pf-c-form--m-horizontal__group-label--md--GridColumnWidth)
var(--pf-c-form--m-horizontal__group-control--md--GridColumnWidth);
}
.pf-c-form__group-label {
padding-top: var(--pf-c-form--m-horizontal__group-label--md--PaddingTop);
}
.pf-c-form__label[aria-required] .pf-c-form__label-text::after {
content: "*";
user-select: none;
margin-left: var(--pf-c-form__label-required--MarginLeft);
font-size: var(--pf-c-form__label-required--FontSize);
color: var(--pf-c-form__label-required--Color);
}
`,
];
@@ -108,11 +96,9 @@ export class HorizontalFormElement extends AKElement {
@property({ type: String })
public name = "";
@property({
type: String,
attribute: "flow-direction",
})
public flowDirection: "row" | "column" = "column";
//#endregion
//#region Lifecycle
firstUpdated(): void {
this.updated();
@@ -138,12 +124,7 @@ export class HorizontalFormElement extends AKElement {
render(): TemplateResult {
this.updated();
return html`<div
class="pf-c-form__group"
role="group"
aria-label="${this.label}"
data-flow-direction="${this.flowDirection}"
>
return html`<div class="pf-c-form__group" role="group" aria-label="${this.label}">
<div class="pf-c-form__group-label">
<label
id="group-label"