diff --git a/src/web/dialog.css b/src/web/dialog.css index f3c5ef7..bd5067a 100644 --- a/src/web/dialog.css +++ b/src/web/dialog.css @@ -42,3 +42,25 @@ fluent-divider { #cancel-button { margin-left: 10px; } + +.dialog-content { + flex-grow: 1; + overflow-y: auto; + padding-left: 20px; + padding-right: 20px; + height: 100%; +} + +.dialog-footer { + position: sticky; + bottom: 0; + padding: 10px; + text-align: center; +} + +.dialog-body { + display: flex; + flex-direction: column; + height: 100%; + padding: 0; +} \ No newline at end of file diff --git a/src/web/setting.css b/src/web/setting.css new file mode 100644 index 0000000..c800f03 --- /dev/null +++ b/src/web/setting.css @@ -0,0 +1,42 @@ +html, body { + height: 100%; + width: 100%; + margin: 0; + overflow: hidden; +} + + +fluent-tab-panel { + padding-top: 20px; + height:100%; +} + +.tab-container { + flex-direction: column; + height: 100%; + left: 0; + position: fixed; + top: 0; + width: 100%; +} + +fluent-tabs { + align-items: stretch; + flex-flow: column; + justify-content: flex-start; + overflow: auto; + height: 100%; +} + +#cancel-button { + margin-left: 10px; +} + +fluent-text-area { + height: 100%; + width: 100%; +} + +fluent-text-area::part(control){ + height:100%; +} \ No newline at end of file diff --git a/src/web/setting.html b/src/web/setting.html index 5f8d885..746f050 100644 --- a/src/web/setting.html +++ b/src/web/setting.html @@ -7,38 +7,42 @@ -
-