mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Merge pull request #1983 from cryptpad/markdown-toolbar-spacing
Fix spacing issues in the markdown toolbar
This commit is contained in:
commit
062b3338c1
@ -65,7 +65,7 @@
|
||||
|
||||
.cp-markdown-toolbar {
|
||||
min-height: @toolbar_line-height;
|
||||
padding: 0.1rem 0;
|
||||
padding: 0.15rem 0.20rem;
|
||||
height: auto;
|
||||
flex-wrap: wrap;
|
||||
background-color: @cp_toolbar-bg;
|
||||
@ -77,6 +77,7 @@
|
||||
border-radius: @variables_radius;
|
||||
color: @toolbar-color;
|
||||
.toolbar_button;
|
||||
padding: 3px 9px;
|
||||
&:hover {
|
||||
background-color: contrast(@cp_toolbar-bg, darken(@cp_toolbar-bg, 5%), lighten(@cp_toolbar-bg, 5%));
|
||||
}
|
||||
@ -84,9 +85,6 @@
|
||||
outline: @variables_focus_style;
|
||||
}
|
||||
}
|
||||
button:nth-of-type(1) {
|
||||
margin-left: 0.3rem;
|
||||
}
|
||||
@media screen and (max-width: @browser_media-medium-screen) {
|
||||
button:nth-of-type(1) {
|
||||
margin-left: 0;
|
||||
|
||||
@ -181,9 +181,6 @@
|
||||
position: relative;
|
||||
.cp-markdown-toggle-button {
|
||||
.markdown-toolbar-button-style();
|
||||
&.cp-toolbar-button-active {
|
||||
//background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -855,7 +852,6 @@
|
||||
}
|
||||
.cp-markdown-toolbar {
|
||||
display: block;
|
||||
padding: 0.1rem 0;
|
||||
border-radius: @variables_radius 0;
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
|
||||
@ -157,12 +157,6 @@
|
||||
background-color: transparent;
|
||||
color: @cp_kanban-fg;
|
||||
border-radius: @variables_radius @variables_radius 0px 0px;
|
||||
button {
|
||||
&:hover {
|
||||
background-color: @cp_kanban-fg;
|
||||
color: @cp_kanban-conflict-bg;
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
outline: 0;
|
||||
border-radius: @variables_radius;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user