Skip to content

Commit 7acf317

Browse files
authored
Adjust dashboard width and spacing around delete buttons. (#3187)
Adjust dashboard with and spacing around delete buttons.
1 parent 191fcb7 commit 7acf317

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/frontend/src/lib/components/layout/MainContent.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div
1515
class="bg-bg-primary_alt col-start-1 col-end-4 row-start-1 row-end-6"
1616
></div>
17-
<div class="col-start-2 col-end-3 row-start-3 row-end-4 p-4 md:p-0">
17+
<div class="col-start-2 col-end-3 row-start-3 row-end-4 p-4">
1818
{@render content?.()}
1919
</div>
2020
<header class="col-start-2 col-end-5 row-start-1 row-end-2 pt-2 pr-0 md:pr-6">
@@ -28,7 +28,7 @@
2828
<style>
2929
.sidebar-layout {
3030
display: grid;
31-
grid-template-columns: 1fr 4fr 1fr;
31+
grid-template-columns: 1fr minmax(auto, 920px) 1fr;
3232
3333
grid-template-rows: min-content 1fr max-content 1fr min-content;
3434
min-height: 100dvh;

src/frontend/src/lib/components/views/AccessMethodsPanel.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
isWebAuthnMetaData(lastUsedAccessMethod) &&
136136
authnMethodEqual(authnMethod, lastUsedAccessMethod)}
137137
/>
138-
<div class="flex items-center justify-center pr-4">
138+
<div class="flex items-center justify-center px-4">
139139
{#if isRemoveAccessMethodVisible}
140140
<Button
141141
onclick={() => (identityInfo.removableAuthnMethod = authnMethod)}
@@ -166,7 +166,7 @@
166166
lastUsedAccessMethod.sub === credential.sub}
167167
/>
168168

169-
<div class="flex items-center justify-center pr-4">
169+
<div class="flex items-center justify-center px-4">
170170
{#if isRemoveAccessMethodVisible}
171171
<Button
172172
onclick={() =>

0 commit comments

Comments
 (0)