fix(ux): responsive ui display (#8132)

* fix: responsive operation

* fix: responsive tag display

* fix: responsive content type selector

* fix: input display

* fix: width of server selector
This commit is contained in:
yzhe819
2022-08-02 09:11:47 +12:00
committed by GitHub
parent a9ae910c6f
commit c36f240e47
5 changed files with 31 additions and 4 deletions

View File

@@ -21,6 +21,7 @@
.authorize .authorize
{ {
padding-right: 20px; padding-right: 20px;
margin-left: 10px;
margin-right: 10px; margin-right: 10px;
} }
} }
@@ -68,7 +69,7 @@
background-color: #ffeeee; background-color: #ffeeee;
color: red; color: red;
margin: 1em; margin: 1em;
@include text_code(); @include text_code();

View File

@@ -34,6 +34,11 @@ select
{ {
min-width: 180px; min-width: 180px;
} }
@media (max-width: 640px)
{
width: 100%;
min-width: 100%;
}
} }
label label

View File

@@ -106,6 +106,18 @@
flex: 1 1 150px; flex: 1 1 150px;
font-weight: 400; font-weight: 400;
} }
@media (max-width: 640px) {
small
{
flex: 1;
}
>div
{
flex: 1;
}
}
} }
.parameter__type .parameter__type
@@ -328,6 +340,14 @@
max-width: calc(100% - 110px - 15rem); max-width: calc(100% - 110px - 15rem);
} }
@media (max-width: 640px) {
.opblock-summary-path
{
flex-shrink: 1;
max-width: 100%;
}
}
.opblock-summary-path__deprecated .opblock-summary-path__deprecated
{ {
text-decoration: line-through; text-decoration: line-through;

View File

@@ -12,6 +12,7 @@
{ {
min-width: 130px; min-width: 130px;
max-width: 100%; max-width: 100%;
width: 100%;
} }
} }

View File

@@ -39,9 +39,9 @@ table
@include text_code(); @include text_code();
} }
.header-example .header-example
{ {
color: #999; color: #999;
font-style: italic; font-style: italic;
} }
} }
@@ -91,7 +91,7 @@ table
{ {
width: 99%; // forces other columns to shrink to their content widths width: 99%; // forces other columns to shrink to their content widths
margin-bottom: 2em; margin-bottom: 2em;
input[type=text] input
{ {
width: 100%; width: 100%;
max-width: 340px; max-width: 340px;