Merge pull request #305 from StarCitizenTools/dev

Minor improvements and fixes
This commit is contained in:
alistair3149 2021-03-08 10:54:00 -05:00 committed by GitHub
commit 050e35d50c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 17 deletions

View file

@ -36,10 +36,14 @@
}
}
a.image > img {
a.image {
max-width: 100%;
> img {
max-width: inherit;
height: auto;
}
}
@media ( min-width: @width-breakpoint-tablet ) {
div.tleft,

View file

@ -30,7 +30,36 @@
.ve-ui {
&-toolbar {
> .oo-ui-toolbar-bar {
display: flex;
border-color: var( --border-color-base--darker );
background-color: var( --background-color-dp-00 );
.oo-ui-toolbar-bar {
border: 0;
background-color: transparent;
}
> .oo-ui-toolbar-actions {
order: 9999; // Set to the right
border-left: 1px solid var( --border-color-base );
}
> .oo-ui-toolbar-tools {
flex-grow: 1;
overflow-x: auto;
overflow-y: hidden;
}
.oo-ui-toolbar-tools {
display: inline-block;
white-space: nowrap;
}
/* Fix inline height */
.oo-ui-popupToolGroup-tools.oo-ui-popupToolGroup-active-tools {
overflow: auto !important;
height: auto !important;
}
}
&-floating {
@ -157,22 +186,8 @@
.ve-ui-toolbar-group {
// Hide some dropdown tools in smaller screen
// format - Paragraph
// link - Link
// strcture - List bullet
// insert - Insert
// specialCharacter - Special character
// help - Help
// notices - Notices
// pageMenu - Menu
&-format,
&-link,
&-structure,
&-insert,
&-specialCharacter,
&-help,
&-notices,
&-pageMenu {
&-help {
display: none;
}
}