Alasdair Smith 8 лет назад
Родитель
Сommit
bfaa6d8dcc
1 измененных файлов с 24 добавлено и 1 удалено
  1. 24 1
      services/web/public/stylesheets/app/editor/toolbar.less

+ 24 - 1
services/web/public/stylesheets/app/editor/toolbar.less

@@ -184,8 +184,12 @@
 	}
 }
 
+/**************************************
+	Toggle Switch
+***************************************/
+
 .toggle-wrapper {
-	width: 200px;
+	min-width: 200px;
 	height: 24px;
 }
 
@@ -241,3 +245,22 @@
   transform: translate(100%);
   border-radius: 0 @btn-border-radius-base @btn-border-radius-base 0;
 }
+
+/**************************************
+	Formatting buttons
+***************************************/
+.formatting-btn {
+	padding: 0;
+	min-width: 32px;
+	height: 100%;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+	box-shadow: none;
+	border: none;
+	border-left: 1px solid #ccc;
+
+	&:last-child {
+		border-right: 1px solid #ccc;
+	}
+}