Skip to content

Commit

Permalink
fix: πŸ› show long 'Save' button in mobile devices
Browse files Browse the repository at this point in the history
Signed-off-by: WaitSpring <[email protected]>
  • Loading branch information
WaitSpringQW committed Oct 21, 2023
1 parent af12805 commit 41d98e1
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions skinStyles/extensions/VisualEditor/ext.visualEditor.less
Original file line number Diff line number Diff line change
Expand Up @@ -321,40 +321,6 @@
padding-top: 0;
}

// Shorten save button
// Use CSS magic to create an icon
// Will change if I figure out a way to load the icon only for VE
.ve-ui-toolbar-saveButton {
width: 60px !important;
height: 42px !important;
padding: 0 !important;

&::before {
top: 12px;
transform: rotate( -45deg );
}

&::after {
bottom: 12px;
transform: rotate( 45deg );
}

&::before,
&::after {
position: absolute;
left: 30px;
display: block;
width: 2px;
height: 11px;
background: var( --background-color-overlay );
content: '';
}

.oo-ui-tool-title {
display: none !important;
}
}

// Active state
.oo-ui-widget-enabled {
.ve-ui-toolbar-saveButton {
Expand Down

0 comments on commit 41d98e1

Please sign in to comment.