浏览代码

Remove overflow:hidden from modal, and add corresponding overflow hidden to the tab-view component to fix the lack of rounded corners on the login modal

sbkwgh 7 年之前
父节点
当前提交
70bebe13da
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 0 3
      frontend/src/components/ModalWindow.vue
  2. 1 0
      frontend/src/components/TabView.vue

+ 0 - 3
frontend/src/components/ModalWindow.vue

@@ -68,12 +68,10 @@
 	.modal_window {
 		box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.10);
 		background-color: #fff;
-		//margin-top: -3rem;
 		opacity: 0;
 		position: relative;
 		border-radius: 0.25rem;
 		pointer-events: none;
-
 		transform: scale(1.1);
 
 		transition: margin-top 0.3s, opacity 0.3s, transform 0.3s;
@@ -103,7 +101,6 @@
 		@at-root #{&}__main {
 			padding: 0 1rem 1rem 1rem;
 			border-radius: 0.25rem;
-			overflow: hidden;
 
 			@at-root #{&}--no_padding {
 				padding: 0;

+ 1 - 0
frontend/src/components/TabView.vue

@@ -61,6 +61,7 @@
 
 	.tab_view {
 		border-radius: 0.25rem;
+		overflow: hidden;
 
 		@at-root #{&}__tabs {
 			display: flex;